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 or AMD dependencies cause optimization bailouts #27

Open
svenson95 opened this issue Jul 16, 2022 · 0 comments
Open

CommonJS or AMD dependencies cause optimization bailouts #27

svenson95 opened this issue Jul 16, 2022 · 0 comments

Comments

@svenson95
Copy link

svenson95 commented Jul 16, 2022

I'm not sure, but maybe it's possible to improve the package by import viewer.js via ES Modules.

fengyuanchen/viewerjs#213

to avoid this warning

Warning: C:...\node_modules\ngx-viewer_ivy_ngcc_\fesm2015\ngx-viewer.js depends on 'viewerjs'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

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

1 participant