Angular 10 warning
spock123 opened this issue Β· comments
When compiling with Angular10, the following warning is displayed:
WARNING in /Users/lrj/project/club-osb/src/app/store/meta-reducers/index.ts depends on ngrx-store-localstorage.
CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Is it possible to do es6 build? Thank you
Angular: 10.0.1
Ngrx-store-localstore: ^9.0.0
Why not build with ng-packagr
?
@conor-mac-aoidh that's a great idea to use ng-packgr
.
If someone can submit a PR to update the build system I'd be very happy to review it.
@BBlackwo I have created #162 to help resolve this.
been testing using https://www.npmjs.com/package/@darkedges/ngrx-store-localstorage/v/9.0.2
@darkedges Thanks for releasing that! So far it's working well in my testing and the warning is gone.
@BBlackwo Will this be merged in soon?
Hi @BBlackwo
Will this be merged in soon? 9.0.2
π This issue has been resolved in version 10.0.0 π
The release is available on:
Your semantic-release bot π¦π
Sorry it took me a while to get this fixed everyone. Should be fixed now thanks to @darkedges π