krasimir / webpack-library-starter

Webpack based boilerplate for producing libraries (Input: ES6, Output: universal library)
MIT License
1.36k stars 290 forks source link

Webpack 4 incompatible #35

Closed ghost closed 3 years ago

ghost commented 6 years ago

When upgrading to the new Webpack, there is this error:

Error: webpack.optimize.UglifyJsPlugin has been removed, please use config.optimization.minimize instead.

pmunin commented 6 years ago

I created separate fork with the solution for wp4: https://github.com/pmunin/webpack-library-starter

manelclos commented 6 years ago

this was done here https://github.com/krasimir/webpack-library-starter/commit/492358aad2a07df5557bc9209c0a3fe7780c154c

issue can be closed

krasimir commented 3 years ago

This started is now migrated to webpack 5.