-
-
Notifications
You must be signed in to change notification settings - Fork 158
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: punc (:) #114
Comments
Please create minimum reproducible test repo |
@shtengel Got the same issue here, the root of the issue is as @evilebottnawi mentioned, es2017 not being supported, my line of code that throws the issue looks like this:
|
@thematho open issue in terser, you catch a bug |
@evilebottnawi tracked down the issue. |
@thematho we can't update |
Close in favor jantimon/html-webpack-plugin#1262 |
Expected Behavior
Be able to run npm build without exceptions
Actual Behavior
I dont why but now when im running webpack to build my ReactJS app im getting this error:
i can't find the file main.51cb43366055e316f3ed.js so i don't know whats the problem.
also its important to mention that im not using "terser" directly at all, i don't know which 3rd module is using it and cause the problem.
Code
The text was updated successfully, but these errors were encountered: