You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
Angular CLI reports that @ngneat/cashew has a CommonJS or AMD dependency that can cause optimization bailouts.
Warning: C:\Projects\XYZ\src\app\core\core.module.ts depends on '@ngneat/cashew'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Expected behavior
I guess that Angular CLI shouldn't complain about @ngneat/cashew being a CommonJS or AMD dependency.
Minimal reproduction of the problem with instructions
I just updated cashew from last 1.x version latest 2.x version and Angular CLI started to produce this warning.
Environment
Angular version: 12.1.1
Angular CLI version 12.1.1
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 14.15.5
- Platform: Windows
Others:
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
Angular CLI reports that @ngneat/cashew has a CommonJS or AMD dependency that can cause optimization bailouts.
Expected behavior
I guess that Angular CLI shouldn't complain about @ngneat/cashew being a CommonJS or AMD dependency.
Minimal reproduction of the problem with instructions
I just updated cashew from last 1.x version latest 2.x version and Angular CLI started to produce this warning.
Environment
The text was updated successfully, but these errors were encountered: