Closed matthewp closed 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...
Not a bug, this works fine. Was a problem with @BigAB's lockfile weirdness.
If you have a module like:
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...