Using ES6 with npm today(mammal.io) |
Using ES6 with npm today(mammal.io) |
The real fun part is going the other direction: using non-ES6 modules inside ES6 code. Using 6to5ify (now babelify), I had the issue that I couldn't access the `exports` variable, only properties on it.
babel --modules common -d lib/ src/