-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Version 2.4.0 of webpack just got published.
| Branch | Build failing 🚨 |
|---|---|
| Dependency | webpack |
| Current Version | 2.3.3 |
| Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As webpack is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
Status Details
Release Notes
v2.4.0Highlighted Features:
import() now allows to configure a chunk name
import(/* webpackChunkName: "my-chunk-name" */ "module")
require.ensure has a error callback
require.ensure([], () => { require("a"); }, err => { console.error("We failed to load chunk: " + err); }, "chunk-name");
Features:
- update to acorn 5
- resolve context is provided to resolver
- add
warningsFilterto stats options to filter warnings - add
__webpack_chunkname__toExtendedAPIPlugin - support string chunk ids
- add
NamedChunksPluginwhich allows to set chunk id, i. e. to chunk name - allow to provided different watch options for multiple compilations
- add error handler callback to
require.ensure - add chunk name option for
import()
Bugfixes:
- main flag for HMR is set correctly
- ignored modules are now context-agnositic
- recorded paths are now platform-agnositic
- fix for local AMD modules which wrap commonjs
- erros now print more detailed message when logged
- fix missing SourceMaps for non-entry chunks after rebuild
- variables now hoist in scope
Commits
The new version differs by 252 commits .
0cbd8fd2.4.0ab22702Merge pull request #4507 from ts-webpack/refactor/clean-codee787452Merge pull request #4700 from webpack/bug/future-var-declaration98153f5Merge pull request #4706 from webpack/test/parser-coverage52f2dafadd test cases and fix a buge4b8833improve code coverage3afe67dadd parser prewalking to capture scope0990915spacingd8a8bd3deprecate string option instead of removing itdbc40e8Merge pull request #4698 from simon04/examples-source-map0ef0581Add example demonstrating all source-map variantsa822784Merge pull request #4696 from webpack/bugfix/parser-refactoringba3688afixes misstake while es6 refactoring, add support for other variable declarations07f6281fix: typos and variables/function misuse52055barefactor: dead code elimination
There are 250 commits in total. See the full diff.
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴