-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Milestone
Description
🐞 Bug report
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes
Description
Whenever I tried to build my app, there are warning in relevance to "Fix CommonJS or AMD dependencies can cause optimization bailouts" and incomplete "Warning in" message but the first one is now resolved through editing the angular.json and add this line right here:
"allowedCommonJsDependencies": [
"..."
]
But the 2nd issue - incomplete "Warning in" messages still persists. With this, would like to be guided.
🔬 Minimal Reproduction
It is through when running ng build --prod but since the warning shown is incomplete, I'm quite not sure when does it persist but these are the list of packages that I have added under allowedCommonJsDependencies
"allowedCommonJsDependencies": [
"ngx-lightbox",
"ngx-flickity",
"lodash",
"flickity",
"flickity-imagesloaded",
"imagesloaded/imagesloaded"
]
🔥 Exception or Error
🌍 Your Environment
Angular CLI: 10.0.2
Node: 12.11.1
OS: macOS Catalina
Angular: 10.0.3
rdrrichards, rurku, diogen737, PKief, ibnYusrat and 1 more
