My current workflow, which is ES6-like but does not use module loading, is to use a Gulp task that runs my TypeScript code through tsc
, producing ES6 output, and then again through Babel, producing ES5 output. I do this because TypeScript does not yet support async/await when outputting ES5 directly.
I would now like to start doing proper ES6 module-loading, which means I need a compatible bundler.
Does JSPM, Webpack, or anyone else support this double-transpiling process?