957 Views
Even if you write your NPM package with ES6, your *published* package should be pure ES5. And that means compiling your code before publishing it.
0 comments
Join in on a hand-picked round up of the best JavaScript articles every day.
Curated by our Moderators and Voted up by our Community. Free.
Even if you write your NPM package with ES6, your *published* package should be pure ES5. And that means compiling your code before publishing it.