Closed Klathmon closed 8 years ago
You release redux-persist in ES5 (it looks like compiled with babel), however this module has arrow functions on one line.
This was blowing up my build when i added it as uglify-js still doesn't understand ES6 (or at least it doesn't in setup i'm using).
This is just a quick PR that removes the 3 inline arrow functions for "regular" functions which makes this fully ES5.
I ran standard lint so it should pass that, and i've already worked around the issue in my project, so don't feel like you need to rush to merge this.
great!
Hi @rt2zz, any chance you can bump the version so we can pull this change down? Looks like 1.0.0 still has arrow functions.
👍 done
You release redux-persist in ES5 (it looks like compiled with babel), however this module has arrow functions on one line.
This was blowing up my build when i added it as uglify-js still doesn't understand ES6 (or at least it doesn't in setup i'm using).
This is just a quick PR that removes the 3 inline arrow functions for "regular" functions which makes this fully ES5.
I ran standard lint so it should pass that, and i've already worked around the issue in my project, so don't feel like you need to rush to merge this.