-
Notifications
You must be signed in to change notification settings - Fork 204
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
Consider switching to ESM only build/artifacts #1778
Comments
This was referenced Mar 6, 2022
I think this should be evaluated at April 2023 once nodejs 16 is deprecated |
Closed
Switching to lodash-es and compiling typescript to ESM instead of commonjs seems to reduce the minified bundle size |
Done in: #1953 I'm still keeping the UMD artifacts (chevrotain.js / chevrotain.min.js) for browser usage. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why
Reduce maintenance overhead of supporting multiple consumption options, currently:
For example Chevrotain currently uses two bundling tools, both
esbuild
andwebpack
When
Likely still too early to do so, need to give the JS / Node community time to adjust.
Some popular packages have started doing so already, we should keep track of their progress and/or success in doing so.
How
esbuild
The text was updated successfully, but these errors were encountered: