stealjs / transpile

Transpiles from everything to everything else
https://www.npmjs.com/package/transpile
MIT License
25 stars 10 forks source link

Unable to transpile async/await syntax #120

Closed matthewp closed 7 years ago

matthewp commented 7 years ago

If you have a module like:

module.exports = {};

(async function(){

})();

You get an error when transpiling. Note that this doesn't happen if using ES modules. My guess is that this is because Babel transpiles them...

So that leads me to believe that escodegen is not able to handle async/await. Maybe it's just a version bump...

matthewp commented 7 years ago

Not a bug, this works fine. Was a problem with @BigAB's lockfile weirdness.