This commit updates deprecated webpack plugins, updates old npm packages and fixes #163
Updated css-loader to 3.1.0 for security reasons (as instructed by npm audti).
Replaced extract-text-webpack-plugin (deprecated) with mini-css-extract-plugin.
I added the --mode option to webpack command to clearly distinguish development and production modes.
Removed webpack.optimize.UglifyJsPlugin (deprecated) along with the uglifySettings from webpack.config.prod.js and replaced it with webpack.optimization.minimze.
This commit updates deprecated webpack plugins, updates old npm packages and fixes #163
css-loader
to 3.1.0 for security reasons (as instructed bynpm audti
).extract-text-webpack-plugin
(deprecated) withmini-css-extract-plugin
.--mode
option to webpack command to clearly distinguish development and production modes.webpack.optimize.UglifyJsPlugin
(deprecated) along with theuglifySettings
from webpack.config.prod.js and replaced it with webpack.optimization.minimze.