Update webpack to the latest version 🚀 #7
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 4.6.0 of webpack was just published.
The version 4.6.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of webpack.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v4.6.0Features
webpackPrefetch/webpackPreloadmagic comments toimport()stats.entrypoints[].childrenandstats.entrypoints[].childAssetsto stats jsonBugfixes
target: "webworker"thistoundefinedESM replacement in function default valuesnew require(...)is weird, but now behaves like in node.jsexport * from "commonjs"with partial overrideoutput.globalObjectintarget: "node-webkit"loadModulesand dependencies in these modulesunknown sizewhen size is unknownoptimizationconfigurationInternal changes
Commits
The new version differs by 161 commits.
e7c8fa44.6.0941be29Merge pull request #7063 from webpack/bugfix/clone-optimization3a5fda9Merge pull request #7062 from webpack/bugfix/issue-6931c47150cClone optimization config in Defaulter3f99517Merge pull request #6905 from xtuc/fix-handle-unknown-sizeaee2491Merge pull request #6962 from justinhelmer/bug/6919ec4ec8eMerge pull request #7056 from webpack/feature/preload0ff2901Merge pull request #7060 from webpack/test/any-comment-in-import58ba91dfix bug which prevented some chunks to show up in Chunk.getAllAsyncChunks946c4dfadd test case for comments in import()8e2e19bfix unstable sorting of ChunkGroups and add test205ca62fix reversed order in Chunk.compareTobabc8a4Merge pull request #7059 from bastimeyer/bugfix/loaderplugin-recursivebe79d6dadd mixed test case which also tests equal order sorting873d7d4show preload and prefetch in statsThere are 161 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴