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

Closed
MichaelFicocelli opened this issue Nov 21, 2024 · 2 comments
Closed

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

Copy link

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants