-
-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(webpack-plugin): upgrade to Webpack 5 #2225
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2225 +/- ##
==========================================
+ Coverage 72.95% 73.14% +0.18%
==========================================
Files 75 74 -1
Lines 2248 2193 -55
Branches 425 413 -12
==========================================
- Hits 1640 1604 -36
+ Misses 448 418 -30
- Partials 160 171 +11
Continue to review full report at Codecov.
|
Remove express/webpack-hot-middleware/webpack-dev-middleware for a simple webpack-dev-server
Provide a build indicator on webpack runs using hooks and async ora
Webpack version
…depencencies update Also bump minimum version of node to 12 in line with webpack-dev-server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patience on the review and thank you for the PR! I still need to test this locally but I have some suggestions on the code itself.
For some reason the tests keep failing with the following error: ``` 1) Uncaught error outside test suite: Uncaught Workerpool Worker terminated Unexpectedly exitCode: `0` signalCode: `null` workerpool.script: `electron-forge/node_modules/mocha/lib/nodejs/worker.js` spawnArgs: `electron-forge/node_modules/mocha/lib/nodejs/worker.js` spawnfile: `/usr/bin/node` stdout: `null` stderr: `null` ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some smoketests and it seems fine, I guess I'll find out how many new issues folks create 😬
Move from webpack-dev-middleware/webpack-hot-middleware/custom express server to webpack-dev-server
That also bumps the minimal node version to 12
Two points to note:
Fixes #2208.