Angular1-scaffold
Angular1-scaffold copied to clipboard
Update webpack to version 2.4.0 🚀
Hello lovely humans,
webpack just published its new version 2.4.0.
| State | Update :rocket: |
|---|---|
| Dependency | webpack |
| New version | 2.4.0 |
| Type | devDependency |
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 :sparkles:
You rock!
:palm_tree:
Highlighted 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
The new version differs by 2318 commits (ahead by 2318, behind by 66).
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.
| ✨ Try the all new Greenkeeper GitHub Integration ✨ |
|---|
With Integrations first-class bot support landed on GitHub and we’ve rewritten Greenkeeper to take full advantage of it. Simpler setup, fewer pull-requests, faster than ever.Screencast![]() Try it today. Free for private repositories during beta. |
