local storage wrapper for both react-native and browser. Support size controlling, auto expiring, remote data auto syncing and getting batch data in one query.
MIT License
3.02k
stars
268
forks
source link
Refactor build system: add rollup and babel@7 #199
First wanted to say that this library is awesome.
But there is one little thing which can cause some troubles - es6 modules syntax without transpiling. It's more simple when library can used with zero-configuration. In some cases like with create-react-app you can't change webpack config without ejecting, which is better to avoid.
I propose to add build script with rollup and babel 7.
I made three build targets with rollup: umd, commonjs and es modules.
So, after that PR even more people can use this library in their projects.
First wanted to say that this library is awesome. But there is one little thing which can cause some troubles - es6 modules syntax without transpiling. It's more simple when library can used with zero-configuration. In some cases like with
create-react-app
you can't change webpack config without ejecting, which is better to avoid.I propose to add build script with rollup and babel 7. I made three build targets with rollup: umd, commonjs and es modules. So, after that PR even more people can use this library in their projects.