Update webpack to the latest version 🚀 #1081
Merged
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.
The devDependency webpack was updated from
4.31.0to4.32.0.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v4.32.0
Features
this.modeto the loader API, to allow loaders to choose defaults bymodesimilar to webpacks optionsimport()now includes the stack from where theimport()was calledBugfixes
const { a, ...rest } = obj, whererestconflicts with an imported binding etc.node: falsenow correctly disables__dirnameand__filenametoo__dirnameand__filenamenow no longer evaluates to something whennode: falseornode.__file/dirname: falseis setif(__dirname !== "")is no longer replaced withif(true)in such scenarios__webpack_public_path__for prefetching tooContribute
Commits
The new version differs by 59 commits.
bbe71d84.32.05c63e05Merge pull request #9153 from webpack/bugfix/dll-side-effectsa4bbdaefix problem with dll and sideEffects36c7ab7Merge pull request #9128 from rchl/fix/useful-chunk-load-stacktracea145beaMerge pull request #9140 from tschaub/loader-mode412f77cMerge pull request #9152 from webpack/dependabot/npm_and_yarn/@types/node-10.14.7ad08a37chore(deps-dev): bump @types/node from 10.14.6 to 10.14.7b322070fix: provide useful stacktrace on chunk loading failure5178aa9Merge pull request #9143 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-4.3.0a0d16cbMerge pull request #9134 from webpack/dependabot/npm_and_yarn/webpack-dev-middleware-3.7.0fac1b9fchore(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.01a63d7bDefault to production290ab5dAllow loaders to access the mode62d1b15Merge pull request #9136 from webpack/dependabot/npm_and_yarn/lint-staged-8.1.7412a1edchore(deps-dev): bump lint-staged from 8.1.6 to 8.1.7There are 59 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴