Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Upgrade to webpack@4 #1050

Open
kylecesmat opened this issue Sep 25, 2020 · 0 comments
Open

Upgrade to webpack@4 #1050

kylecesmat opened this issue Sep 25, 2020 · 0 comments
Labels
chore dependencies Pull requests that update a dependency file

Comments

@kylecesmat
Copy link
Contributor

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 DefinePlugin and UglifyJsPlugin, use compress options instead
  • Set mode=production in webpack config
  • Ensure config for test is appropriate (possibly mode=development|none)
@kylecesmat kylecesmat added chore dependencies Pull requests that update a dependency file labels Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
chore dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant