btroncone / ngrx-store-localstorage

Simple syncing between @ngrx store and local storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

@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 πŸ™‚