Hi,
It would be nice if this library would be transpiled to ES5 (in a folder like /dist) using something like babel before getting pushed to git/NPM.
It's not standard to require the user to transpile stuff installed to node_modules, and without transpiling, it could raise some errors when trying to use this code with specific webpack/grunt/gulp plugins.
My use-case
I'm using this together with vue-electron and webpack. When webpack is building the app for production use, it uglifies everything inside node_modules. Sadly, it doesn't have support for ES6, so your library will raise an error and the build fails. I could add exclude the library, but I guess it would be better to fix it at the root.
Hi,
It would be nice if this library would be transpiled to ES5 (in a folder like
/dist) using something like babel before getting pushed to git/NPM.It's not standard to require the user to transpile stuff installed to
node_modules, and without transpiling, it could raise some errors when trying to use this code with specific webpack/grunt/gulp plugins.My use-case
I'm using this together with vue-electron and webpack. When webpack is building the app for production use, it uglifies everything inside
node_modules. Sadly, it doesn't have support for ES6, so your library will raise an error and the build fails. I could add exclude the library, but I guess it would be better to fix it at the root.