Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webpack to version 2.4.0 🚀 #72

Closed
wants to merge 1 commit into from

Conversation

greenkeeperio-bot
Copy link

Hello lovely humans,

webpack just published its new version 2.4.0.

State Update 🚀
Dependency webpack
New version 2.4.0
Type peerDependency

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 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 warningsFilter to stats options to filter warnings
  • add __webpack_chunkname__ to ExtendedAPIPlugin
  • support string chunk ids
  • add NamedChunksPlugin which 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

✨ 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.

@mikechau mikechau closed this May 17, 2017
@mikechau mikechau deleted the greenkeeper-webpack-2.4.0 branch May 17, 2017 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants