-
Notifications
You must be signed in to change notification settings - Fork 743
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
Angular 10 module depends on 'bignumber.js'. CommonJS or AMD dependencies can cause optimization bailouts. #278
Comments
It's the bignumber.mjs file. See the package.json: "module": "bignumber.mjs", |
Did anyone found a solution how angular build finds the |
@phip1611 The way I found was to rename the bignumber.mjs -> bignumber.js |
Same issue here, any update? |
This is because in Angular you must add this for each CommonJS Dependency: |
This option tells the compiler to ignore the warning. Not fixing the issue. |
I confirm this. I changed my imports. Thanks @gabrielbiga |
After upgrading to Angular version 10 I get the message depends on 'bignumber.js'. CommonJS or AMD dependencies can cause optimization bailouts.
Are you going to publishing an ES module?
The text was updated successfully, but these errors were encountered: