Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token (async) #9

Open
tnguyen14 opened this issue Jun 6, 2017 · 4 comments
Open

Unexpected token (async) #9

tnguyen14 opened this issue Jun 6, 2017 · 4 comments

Comments

@tnguyen14
Copy link

When adding this plugin, rollup throw an error for an async function

async function...
Unexpected token (36:6)

Other plugins I have are: node-builtins, node-resolve, commonjs and json.

@calvinmetcalf
Copy link
Owner

looks like the parser from rollup-utils can't handle async functions

@tnguyen14
Copy link
Author

I filed an issue on rollup-pluginutils for this.

@riggs
Copy link

riggs commented Mar 1, 2018

@shinnn
Copy link

shinnn commented Apr 18, 2018

Fixed in 2cf6d0d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants