Update webpack to the latest version 🚀 #3771
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
/webpackPreload
magic comments toimport()
stats.entrypoints[].children
andstats.entrypoints[].childAssets
to stats jsonBugfixes
target: "webworker"
this
toundefined
ESM replacement in function default valuesnew require(...)
is weird, but now behaves like in node.jsexport * from "commonjs"
with partial overrideoutput.globalObject
intarget: "node-webkit"
loadModules
and dependencies in these modulesunknown size
when size is unknownoptimization
configurationInternal changes
Commits
The new version differs by 161 commits.
e7c8fa4
4.6.0
941be29
Merge pull request #7063 from webpack/bugfix/clone-optimization
3a5fda9
Merge pull request #7062 from webpack/bugfix/issue-6931
c47150c
Clone optimization config in Defaulter
3f99517
Merge pull request #6905 from xtuc/fix-handle-unknown-size
aee2491
Merge pull request #6962 from justinhelmer/bug/6919
ec4ec8e
Merge pull request #7056 from webpack/feature/preload
0ff2901
Merge pull request #7060 from webpack/test/any-comment-in-import
58ba91d
fix bug which prevented some chunks to show up in Chunk.getAllAsyncChunks
946c4df
add test case for comments in import()
8e2e19b
fix unstable sorting of ChunkGroups and add test
205ca62
fix reversed order in Chunk.compareTo
babc8a4
Merge pull request #7059 from bastimeyer/bugfix/loaderplugin-recursive
be79d6d
add mixed test case which also tests equal order sorting
873d7d4
show preload and prefetch in stats
There 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 🌴