Upgrade to webpack@4
Author: kylecesmatCreated Sep 25, 2020Updated Sep 25, 2020
Labelschoredependencies
In an effort to provide security releases, we should investigate upgrading the bundling of this library to use webpack@4. This will remove our dependency on node-gyp downstream, as the latest versions no longer depend on it. This may also require us to rev the node version to something higher than >8 (more modern).
Steps to accomplish this upgrade:
- Increase package versions
- Remove
DefinePluginandUglifyJsPlugin, usecompressoptions instead - Set
mode=productionin webpack config - Ensure config for
testis appropriate (possiblymode=development|none)
Source: FormidableLabs/radium