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 fixed mine. This message is caused by the updated version of UglifyJS. They removed that function. Install this package here. https://github.com/webpack-contrib/uglifyjs-webpack-plugin
Replace the old block of code
Open config/webpack.prod.js
[top]
...
const UglifyJsPlugin = require("uglifyjs-3-webpack-plugin");
...
Optimization Since version 4 webpack runs optimizations for you depending on the chosen mode, still all optimizations are available for manual configuration and overrides.
To fix this:
module.exports = {
optimization: {
minimize: false //Update this to true or false
}
};
when i try to go live on heroku i get this error, unfortunately i dont know much about webpack yet so i have no clue how to resolve this issue
The text was updated successfully, but these errors were encountered: