-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
ant pro (roadhog) yarn build error: Failed to minify the bundle. Error:from UglifyJs Unexpected token: name (InvalidFormatError) #3697
Comments
@sorrycc i have updated roadhog version in package.json to still facing same error. @sorrycc i have followed your https://www.youtube.com/watch?v=z4pWFpPiIoc video too.. bit confusion because of language tried to understand it... but have a question that bothering me a lot.. Dont know what to do .. please help me with this @sorrycc |
You need to use |
@sorrycc thank you so much for quick response. yes i tried using @sorrycc didnt get this |
@sorrycc hey i did what you asked for #3697 (comment)
created pull request ! do check it @sorrycc |
Reinstall your node_modules and try again, ref: umijs/es5-imcompatible-versions@0fcba47 |
@sorrycc hey its working.. thank you ! |
As far as i understood @sorrycc sorrycc/blog#68
i have edited my .webpackrc.js file:
added
es5ImcompatibleVersions: true,
After updating webpackrc.js file , deleted Node Modules folder, reinstalled node_modules and
yarn cache clean && yarn build
Package.json file:
Please can anyone help me with this:
If missing something, then guide me
or doing it wrong, then correct me.
Thank you
The text was updated successfully, but these errors were encountered: