Skip to content

distribute as ECMAScript module (ESM) #1041

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

Open
terencehonles opened this issue Aug 19, 2022 · 1 comment
Open

distribute as ECMAScript module (ESM) #1041

terencehonles opened this issue Aug 19, 2022 · 1 comment

Comments

@terencehonles
Copy link

I am using rollbar.js with Angular and by not providing an ESM distribution Angular complains this disables potential optimizations that ESM would allow. I am not sure if this is currently on the roadmap, but this is just a friendly request for this. I haven't looked at the code to see how much work this might be, but I figured I might as well make sure this was on the radar.

This is the specific warning and I am aware I can disable it https://angular.io/guide/build#configuring-commonjs-dependencies

@daguttt
Copy link

daguttt commented Mar 15, 2025

Yeah, this would be so nice. CommonJS makes our Angular bundles larger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants