-
Notifications
You must be signed in to change notification settings - Fork 13
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
Can't parse es2017 and later #12
Comments
@falsandtru Sorry for my late response. I'll take a look. To give you a quick fix, could you tell me what transpiler-side product are you using?
I'll fix it first. |
I'm using gulp-unassert. |
While tackling with this issue, I've found that escodegen cannot generate refs: Support async iteration statement |
Now gulp-unassert can work with es2018, thanks! |
Acorn targets es2016 by default, not es2017 or later. You have to specify the version.
https://github.com/acornjs/acorn#main-parser
The text was updated successfully, but these errors were encountered: