-
Notifications
You must be signed in to change notification settings - Fork 32
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
Upgrade webpack v4 #213
Upgrade webpack v4 #213
Conversation
package.json
Outdated
"webpack-dev-middleware": "3.4.0", | ||
"webpack-hot-middleware": "2.24.3", | ||
"webpack-manifest-plugin": "2.0.4", | ||
"webpack-mild-compile": "2.0.0", |
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.
this needs to be in 3.0.0
range otherwise webpack complains with a deprecation warning
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.
3.3.1 was just released last night, which is the first v3 version that doesn't crash or hang for all eternity. I'll push that change in a bit.
1ee4c72
to
0c0a1ed
Compare
- Temporarily add local, upgraded `@dojo/webpack-contrib` - Temporarily update package.json for CI - Replace ExtractTextPlugin with MiniCssExtractPlugin, but pin to 0.4.2 until shellscape/webpack-manifest-plugin#167 is resolved - Replace removed CommonsChunkPlugin with `optimize.splitChunks` configuration option - Remove plugins provided by `mode` configuration option: NamedChunksPlugin, NamedModulesPlugin, and DefinePlugin - Use terser-webpack-plugin over uglifyjs-webpack-plugin-terser - Upgrade to [email protected] - Add runtime chunk, disable default chunk, and force modules into main chunk - Filter css order warnings - Move optimize-css-assets-webpack-plugin to dist config - Update tapable typings
15682f0
to
8662cac
Compare
Codecov Report
@@ Coverage Diff @@
## master #213 +/- ##
==========================================
- Coverage 54.2% 53.93% -0.28%
==========================================
Files 10 10
Lines 594 597 +3
Branches 145 144 -1
==========================================
Hits 322 322
- Misses 272 275 +3
Continue to review full report at Codecov.
|
package.json
Outdated
"postcss-preset-env": "5.3.0", | ||
"slash": "1.0.0", | ||
"source-map-loader-cli": "0.0.1", | ||
"strip-ansi": "3.0.1", | ||
"style-loader": "0.19.0", | ||
"ts-loader": "3.1.1", | ||
"terser-webpack-plugin": "^1.1.0", |
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.
should we fix this?
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 catching that.
Type: feature
The following has been addressed in the PR:
prettier
Description:
Blocked by dojo/webpack-contrib#93 and should not be merged until
package.json
is updated with the nextwebpack-contrib
release. Verified on both macOS and Windows with multiple test applications.optimize.splitChunks
configuration optionmode
configuration option: NamedChunksPlugin, NamedModulesPlugin, and DefinePluginResolves #68