Skip to content

Transpiling to ES5 #38

@JohnnyCrazy

Description

@JohnnyCrazy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions