MichalZalecki / storage-factory

Because using localStorage directly is a bad idea
https://www.npmjs.com/package/storage-factory
63 stars 5 forks source link

Unable to run with latest version of NX #31

Open crunchwrap89 opened 1 year ago

crunchwrap89 commented 1 year ago

When updating to latest version of NX i get below error when compiling.

_WARNING in ../../node_modules/storage-factory/lib/esm/index.js 3:30-48
export 'default' (imported as 'lib') was not found in '../index.js' (possible exports: __esModule, storageFactory)._

Below pull request solves this issue:

https://github.com/MichalZalecki/storage-factory/pull/30/commits/0ca53c15169c25fde8bb4c303439de7022f1d4fb