You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue when trying to execute the command npm run build on a vue-cli 2 project that uses the latest version of the vue-weather-widget. You can check the error's trace in the following image:
It seems that UglifyJs has a problem proccesing the component's utils.js file. I did a little research and I found in a forum that the error could be caused because ECMAS6 syntax is being used inside de utils.js file. I can't migrate to vue-cli 3 at the moment because the project works embedded in a Django project using Django Webpack Loader and that library only recognizes the vue-cli 2 project structure.
When I execute the project using npm run dev, everything works fine. The issue only happens at build time.
Thanks for your help
Esteban
The text was updated successfully, but these errors were encountered:
Hi,
I'm having an issue when trying to execute the command npm run build on a vue-cli 2 project that uses the latest version of the vue-weather-widget. You can check the error's trace in the following image:
It seems that UglifyJs has a problem proccesing the component's utils.js file. I did a little research and I found in a forum that the error could be caused because ECMAS6 syntax is being used inside de utils.js file. I can't migrate to vue-cli 3 at the moment because the project works embedded in a Django project using Django Webpack Loader and that library only recognizes the vue-cli 2 project structure.
When I execute the project using npm run dev, everything works fine. The issue only happens at build time.
Thanks for your help
Esteban
The text was updated successfully, but these errors were encountered: