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.
Hello lovely humans,
webpack just published its new version 2.4.0.
This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of webpack.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project ✨
You rock!
🌴
GitHub Release
Highlighted Features:
import()
now allows to configure a chunk namerequire.ensure
has a error callbackFeatures:
warningsFilter
to stats options to filter warnings__webpack_chunkname__
toExtendedAPIPlugin
NamedChunksPlugin
which allows to set chunk id, i. e. to chunk namerequire.ensure
import()
Bugfixes:
The new version differs by 2318 commits (ahead by 2318, behind by 48).
0cbd8fd
2.4.0
ab22702
Merge pull request #4507 from ts-webpack/refactor/clean-code
e787452
Merge pull request #4700 from webpack/bug/future-var-declaration
98153f5
Merge pull request #4706 from webpack/test/parser-coverage
52f2daf
add test cases and fix a bug
e4b8833
improve code coverage
3afe67d
add parser prewalking to capture scope
0990915
spacing
d8a8bd3
deprecate string option instead of removing it
dbc40e8
Merge pull request #4698 from simon04/examples-source-map
0ef0581
Add example demonstrating all source-map variants
a822784
Merge pull request #4696 from webpack/bugfix/parser-refactoring
ba3688a
fixes misstake while es6 refactoring, add support for other variable declarations
07f6281
fix: typos and variables/function misuse
52055ba
refactor: dead code elimination
There are 250 commits in total. See the full diff.
Screencast
Try it today. Free for private repositories during beta.