manrajgrover / algorithms-js

Consumable Data Structures and Algorithms library in JavaScript
MIT License
198 stars 129 forks source link

Update Webpack Configuration to Use Modern Optimization Method #151

Open MdialloC19 opened 6 months ago

MdialloC19 commented 6 months ago

Description

It appears there's an issue with the current Webpack configuration file. The error is pointing out that the old method, webpack.optimize.UglifyJsPlugin, has been removed in newer Webpack versions, and the new approach is to utilize config.optimization.minimize.