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

Warning after upgrading project from Angular 9 to 10 #38

Open
andzejsw opened this issue Jul 27, 2020 · 1 comment
Open

Warning after upgrading project from Angular 9 to 10 #38

andzejsw opened this issue Jul 27, 2020 · 1 comment

Comments

@andzejsw
Copy link

I updated my Angular project from Angular 9 to 10 and then after build this warning appeared:

WARNING in /mnt/c/app/angular-latest-smartmex/smartmex-web/src/app/factories/WampService.ts depends on 'thruway.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Maybe it is possible to use package without CommonJS.

@andzejsw
Copy link
Author

For now i will use Angular suggested solution: 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