Update dependency webpack to v5 #17
Open
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.
This PR contains the following updates:
^4.43.0->^5.0.0Release Notes
webpack/webpack
v5.19.0Compare Source
Features
exposesforModuleFederationPluginBugfixes
optionsforProgressPluginoptional in typingsPerformance
v5.18.0Compare Source
Internals
React.createElement)v5.17.0Compare Source
Features
experiments.lazyCompilation: truefor web and node targetsimport()s only when they are accessedwebpack-dev-server/webpack serveopening an entrypoint for the first time, sometimes need a manual refresh.moduletomodule.parser.javascriptand also allow to set them viamodule.rulesmodule.parser.javascript.commonjsMagicCommentsto enable/* webpackIgnore: true */forrequire()callsBugfixes
webpack.debug.ProfilingPluginon Mac when the computer was suspended before.v5.16.0Compare Source
Features
__webpack_is_included__("./some-module")which returns true when the module is bundled and false when notlibrary.type: "assign-properties"which merges all exports into a global variableoptimization.innerGraphfornew URL()Bugfixes
experiments.outputModule: truewithoptimization.runtimeChunksplitChunk.reuseExistingChunkdoesn't work for entrypointsDeveloper Experience
v5.15.0Compare Source
Features
getResolvemethod to data object when using functionexternalsexternalsfunction may return a promise nowBugfixes
define("local-module", expr)generating invalid syntaxchunkModulesSpaceto schemarebuildModuleapiPerformance
v5.14.0Compare Source
Features
Bugfixes
watcher.getContextTimeInfoEntries()memfsand realfsAutomaticPrefetchPluginContribution
v5.13.0Compare Source
Features
resolve.preferAbsoluteflag for compatibility with webpack 4exportsandimportsfieldnameForCondition()as fallback for module namesv5.12.3Compare Source
Bugfixes
@webassembly/*andterser-webpack-plugindependenciesv5.12.2Compare Source
Bugfixes
v5.12.1Compare Source
Bugfixes
varlibraryv5.12.0Compare Source
Features
experiments.layersentry.xxx.layer: "name-of-layer"allows to set the layer for an entrypointmodule.rules[].issuerLayer: RuleConditionallows to filter/match by layer of issuermodule.rules[].layer: "name-of-layer"allows to set the layer of an modulesplitChunks.cacheGroups.xxx.layerallows to select modules by layerexternals.byLayer["name-of-layer"]allows to specify externals by layerexternals.byLayer: (layer) => ...allows to specify externals by layerexternalsfunction has an additional argument propertycontextInfowhich contains info about the issuer (e. g. the layer)module.parserandmodule.generatoroptions to allow to specify parser/generator options globally per module typechunkIdvariable available in script tag hook (like it was with webpack 4)Bugfixes
stats.nestedModulesSpaceto schema to allow to specify this optionnew.targetwith constantssplitChunkminSizeis not handled correctlysplitChunkcacheGroupsis not handled correctlyDeveloper experience
Contributing
v5.11.1Compare Source
Bugfixes
objecttypes in typingsv5.11.0Compare Source
Features
validateSchemafunctionBugfixes
undefinedvalues for rule conditions like empty stringsv5.10.3Compare Source
Bugfixes
v5.10.2Compare Source
Bugfixes
target: "node"v5.10.1Compare Source
Bugfixes
processAssetswithadditionalAssets\in module info header commentv5.10.0Compare Source
Bugfixes
"sideEffects": false) when reexports and concatenated modules are combinedContributing
Performance
output.pathinfo: true(default in development) adds less verbose information (and is faster)output.pathinfo: "verbose"adds more verbose informationoutput.pathinfo: trueis cachedv5.9.0Compare Source
Features
Bugfixes
... has no hash info for runtime ...v5.8.0Compare Source
Features
PROCESS_ASSETS_STAGE_OPTIMIZE_INLINEBugfixes
v5.7.0Compare Source
Features
pnpmBugfixes
if(...)etc.v5.6.0Compare Source
Bugfixes
v5.5.1Compare Source
Bugfixes
v5.5.0Compare Source
Bugfixes
[id]and etc. in SourceMap sources__esModuleflag consistent exposedv5.4.0Compare Source
Bugfixes
v5.3.2Compare Source
Bugfixes
v5.3.1Compare Source
Bugfixes
__webpack_require__(null)problemstring[]types instead of[string, ...string[]]for arrays that must not be emptyPerformance
v5.3.0Compare Source
Features and Bugfixes
Cannot read property 'call' of undefinederror in webpack runtime, because modules are used that are not in the graph in one runtimeoptimization.sideEffects: "flag"as option for thisv5.2.1Compare Source
Bugfixes
watchOptions.followSymlinksoption to schemav5.2.0Compare Source
Features
sourceFilenameandjavascriptModuleto asset info for pluginsBugfixes
thisexternals with module concatenationv5.1.3Compare Source
Bugfixes
Self-reference dependency has unused export nameerrorv5.1.2Compare Source
Bugfixes
v5.1.1Compare Source
Bugfixes
Self-reference dependency has unused export nameerrorCompilation.deleteAssetupdates chunk to file mappingsv5.1.0Compare Source
Features
webpackproperty fromCompilercleverMerge,EntryOptionPlugin,DynamicEntryPluginBugfixes
require("..").xxxin try-catch produces a warning instead of an error nowv5.0.0Compare Source
Announcement and changelog
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.