News for hackers. Stuff that matters.
Re:Using ES6 with npm today by lenkite on Friday February 27, 2015 @09:56AM (#9119128)
They should simply use standard node js require. The author forgot to specify common js interop option in babel.

babel --modules common -d lib/ src/

Re:Using ES6 with npm today by acdlite on Friday February 27, 2015 @10:10AM (#9119218)
That's actually the default, but you can specify a different module system if you like. https://babeljs.io/docs/usage/modules/