Jep of course. If you install a package w/ npm, you wanna start directly and don't wanna debug these packages too :P
- Sort By :
This comment has received 1 appreciation.
Therefore I use ES6 for development and push it on GitHub. And precompile this codebase with babel to ES5 code and publish it on npm – without the ES6 code. Additionally the pkg.main refers to the ES5 entry point :)
I just see the problem with import/export. Other parts work well for me. However, I think we should use native features only, what do not require transpiler.