-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish as ESM? #85
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This module is authored in ESM but then transpiles that to CJS, then finally uses rollup to create a big code blob.
Image from https://esbuild.github.io/analyze/ :
The tsc config could be updated to just publish ESM and rollup could be removed.
This would make it easier to do tree shaking to remove unused code from bundles.
The same change could be made to pvutils and pvtsutils.
@microshine I can open some PRs if you'd fine this useful?
The text was updated successfully, but these errors were encountered: