-
-
Notifications
You must be signed in to change notification settings - Fork 108
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 #33
Comments
If I change to
Creating an optimized production build... Failed to minify the code from this file:
|
This is a problem with the bundler you use, not this package. Open an issue over there instead. |
Hey @RyuGuo, did you find a fix for this? |
Yes.There is something wrong with the bundler I use. |
this is valid ES10 syntax, you need to transpile to es6 with babel, because the author has no intention to provide a ES6 code on npm, however you will need to add a blunder rule to transpile node_modules libraries |
Creating an optimized production build...
Failed to compile.
./node_modules/_p-limit@3.0.1@p-limit/index.js
Module parse failed: Unexpected token (30:10)
You may need an appropriate loader to handle this file type.
| try {
| await result;
| } catch {}
|
| next();
my node vesion is v12.16.1
The text was updated successfully, but these errors were encountered: