Skip to content
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

CommonJS Dependencies causing large number of install warnings #3798

Open
MichaelFicocelli opened this issue Nov 21, 2024 · 1 comment
Open

Comments

@MichaelFicocelli
Copy link

This project depends on canvg which throws a large number of warnings on install in angular environments.

node_modules/canvg/lib/index.es.js depends on 'core-js/modules/es.array.index-of.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

https://v17.angular.io/guide/build#configuring-commonjs-dependencies recommends using ECMAscript modules instead of core-js, because core-js dependencies commonly choke optimizers/minifiers.

@Jackb1992
Copy link

bump

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