Update webpack to the latest version 🚀
Version 2.2.1 of webpack just got published.
| Dependency | webpack |
|---|---|
| Current Version | 1.14.0 |
| Type | devDependency |
The version 2.2.1 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.
Commits
The new version differs by 1559 commits (ahead by 1559, behind by 66).
0445b152.2.1ce5b72aMerge pull request #4124 from willmendesneto/refactor-critical-dependency-warning54b6f38Merge pull request #4127 from li-kai/uglify-plugin-testcadc025Merge pull request #4133 from hlwsmith/patch-12ed6448Fix link to Vue frameworkdeabd23Fix naminga417b80Add test for UglifyJsPlugin1e56bb5refactor(CriticalDependencyWarning): upgrade to ES6873aad1Merge pull request #3887 from shubheksha/refactor-CommonJsPlugin1caeb72refactor(ES6): upgrade CommonJsPlugin to ES668dea37Merge pull request #4043 from shubheksha/refactor-test-RecordIdsPlugin0460726Merge pull request #4049 from shubheksha/refactor-test-Template22352b8Merge pull request #4047 from shubheksha/refactor-test-SourceMapDevToolModuleOptionsPlugin58b4b55Merge pull request #4044 from shubheksha/refactor-test-RequireJsStuffPlugin5df1d5cMerge pull request #4034 from carloscuatin/refactor-eval-dev-tool-module-template-plugin
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 :palm_tree:
Version 2.3.0 just got published.
Update to this version instead 🚀
Release Notes
v2.3.0Features:
- add
extensionsoption to DllReferencePlugin - add
warningsFilterto UglifyJsPlugin to hide warnings selectively - add
extractCommentsto UglifyJsPlugin to move kept comments into separate file (i. e. LICENSE file) - validate relative and absolute paths in configuration
- validate stats options
- allow to match on
compiler(namein configuration) in rules- i. e. allows to specify different rules for
extract-text-webpack-pluginorhtml-webpack-plugin
- i. e. allows to specify different rules for
- Allow to pass multiple entries via CLI
- Performance improvements
- CommonsChunkPlugin give errors on incorrect options
- add
module.strictExportPresenceto make missing export an error instead of warning - Compiler emits
watch-closeevent when the watcher is closed - Allow additional compress options in UglifyJsPlugin
- empty chunk numbers are not flags in every chunk, this improves caching invalidation
Bugfixes:
- OccurrenceOrderPlugin now counts occurrences correctly
- Fix cheap-source-maps when combined with ES Modules (lines were offset)
- Watcher now detects file deleting correctly
- Resolve output path if relative output path is given via CLI
- Handle stack traces in errors correctly
- Some usages of
Systemnow generate valid code i. e.System.global - Dynamic property names are now parsed and can contain webpack stuff (i. e. imports)
- Empty enviroment variables are now supported in the
EnvironmentPlugin - (Maybe) Fixes chunk loading in IE when script is cached
Commits
The new version differs by 487 commits .
46dc08e2.3.001c06deMerge pull request #4527 from webpack/bugfix/issue-447223e1f7cinstall Promise early in chunk cache0c137cbMerge pull request #4521 from chicoxyzzy/patch-198ea823Merge pull request #4503 from eirikurn/empty-env-variables0058a2eUse ts-loader instead of deprecated typescript-loader3e787eaMerge pull request #4502 from webpack/TheLarkInn-patch-1335ce5fMerge pull request #4471 from SteveMieskoski/increase-coverage-for-AutomaticPrefetchPluginfadafb2Merge pull request #4504 from timse/do-not-merge-empty-chunksa9972a3Merge pull request #4505 from rouzbeh84/hotfix/hotlinking-examples-indexa5272e8hotlink examples in readmed67e125fix up testsd7ae9addo not incorporate chunks without modules003cef9EnvironmentPlugin: Support empty env variables7db849dUpdate README.md
There are 250 commits in total. See the full diff.
Version 2.3.1 just got published.
Update to this version instead 🚀
Commits
The new version differs by 9 commits .
4b9b6602.3.1d1cf8b4Merge pull request #4538 from webpack/feature/error-emit-warningec46a0dMerge pull request #4539 from mp4096/master18566a1Fixed link to the Traceur repo in README751fd9badd stack to non-Error error emittedb1acb2eMerge pull request #4537 from webpack/bugfix/newline-validation49ccf44Merge pull request #4536 from webpack/bugfix/issue-453210c44e5fix extra newline in validation915c150fix bug in MinChunkSizePlugin
See the full diff.
Version 2.3.2 just got published.
Update to this version instead 🚀
Release Notes
v2.3.2Bugfixes:
- Fix performance issue with cheap-source-maps
- Fix a line offset issue with cheap-source-maps
- Allow lowercased drive letters as absolute paths (not recommended)
- Improve some error reporting
Commits
The new version differs by 9 commits .
6b209b12.3.288f2833Merge pull request #4567 from webpack/bugfix/cheap-source-map3fca75eMerge pull request #4565 from webpack/dx/error-description-output-pathc226077update webpack-sources dependency to fix a bug2fe82afSuggest course of action56d09abMerge pull request #4533 from michael-ciniawsky/schemab5451efMerge pull request #4564 from webpack/bugfix/cheap-source-map22c771fupdate webpack-sources dependency to avoid performance issuec390700fix(schema/absolutePaths): make absolute paths case insensitive
See the full diff.
Version 2.3.3 just got published.
Update to this version instead 🚀
Release Notes
v2.3.3Bugfixes:
- fix progress in multi compiler
Version 2.4.0 just got published.
Update to this version instead 🚀
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.
Version 2.4.1 just got published.
Update to this version instead 🚀
Release Notes
v2.4.1Bugfixes:
- Fix scope analysis in function declarations