marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.02k stars 1.33k forks source link

Module not found: Error: Can't resolve 'store'. #176

Closed amino-studio closed 7 years ago

amino-studio commented 7 years ago

v2.0.0

I build bundle via WebPack.

Code:

import store from 'store';

I've switched to 1.3.20 - everything smooth and nice.

marcuswestin commented 7 years ago

Should be fixed in 2b6cf4de50bb5 and v2.0.1. Apologies for the broken build!

marcuswestin commented 7 years ago

Just verified that this works with v2.0.1:

test.js

import store from 'store'
store.set('foo', 'bar')
console.log(store.get('foo') == 'bar')

> webpack test.js test.out.js && node test.out.js

Let me know if anything else isn't right for you!

Cheers, Marcus

amino-studio commented 7 years ago

Working! Thank you :-)