Transpile ES6 modules to CommonJS - the right way.