[BUMP] Update dependency webpack to v5 (dossier racine)#142
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
[BUMP] Update dependency webpack to v5 (dossier racine)#142renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
yaf
approved these changes
Jan 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.46.0->^5.0.0Release Notes
webpack/webpack
v5.81.0Compare Source
New Features
ignoreBrowserWarningsoption to ignore browser console warnings in ModuleFederation by @indeediansbrett in https://github.com/webpack/webpack/pull/16388Bug Fixes
Tests & Contributor Experience
providetogetOrInsertin MapHelpers and document it better by @TheLarkInn in https://github.com/webpack/webpack/pull/17060Developer Experience
Dependencies & Maintenance
New Contributors
Full Changelog: webpack/webpack@v5.80.0...v5.81.0
v5.80.0Compare Source
New Features
import.metaby @vankop in https://github.com/webpack/webpack/pull/16996AwaitExpressionby @vankop in https://github.com/webpack/webpack/pull/16995errorsSpace,warningsSpacefor more readable traces in stats by @vankop in https://github.com/webpack/webpack/pull/15450Bug Fixes
url()/src()/image-set()/image()by @alexander-akait in https://github.com/webpack/webpack/pull/16978statement.finalizerin parser by @xiaoboost in https://github.com/webpack/webpack/pull/17016moduleIdassignment due to encounteringNaNin sort function by @scameron in https://github.com/webpack/webpack/pull/16933Tests & Contributor Experience
@supportsfield by @alexander-akait in https://github.com/webpack/webpack/pull/17011BannerPluginby @jeffin143 in https://github.com/webpack/webpack/pull/10736finializerfrom cspell.json by @snitin315 in https://github.com/webpack/webpack/pull/17022Developer Experience
wasm-bindgenexample toexampleby @gthb in https://github.com/webpack/webpack/pull/14313Dependencies & Maintenance
@webassemblyjsby @alexander-akait in https://github.com/webpack/webpack/pull/17003New Contributors
Full Changelog: webpack/webpack@v5.79.0...v5.80.0
v5.79.0Compare Source
New Features
DefinePluginby @vankop in https://github.com/webpack/webpack/pull/16941Bugfixes
DefaultStatsPrinterby @snitin315 in https://github.com/webpack/webpack/pull/16882[contenthash]template support inDllPlugin'snameoption by @snitin315 in https://github.com/webpack/webpack/pull/16935readRecordscompiler hook was causing hangs in conjunction with theReadRecordsPluginby @snitin315 & @zookatron in https://github.com/webpack/webpack/pull/16944@MEDIAby @alexander-akait in https://github.com/webpack/webpack/pull/16915Developer Experience
ExternalsOption types by @snitin315 in https://github.com/webpack/webpack/pull/12774Contributor Experience
shareScopeoption by @snitin315 in https://github.com/webpack/webpack/pull/16943New Contributors
Full Changelog: webpack/webpack@v5.78.0...v5.79.0
v5.78.0Compare Source
Features
amdContainersupport for AMD libraries (Fixes #16561) by @long76 in https://github.com/webpack/webpack/pull/16562Bugfixes
@mediaor@supportsnow properly are replaced with unique identifiers by @noreiller in https://github.com/webpack/webpack/pull/15812oneOfrule has been picked multiple times by @xiaoxiaojx in https://github.com/webpack/webpack/pull/16477createRequiresupport fornode:moduleprefix by @alexander-akait in https://github.com/webpack/webpack/pull/16904Performance
ErrorHelpersnamed functions; Add types by @TheLarkInn in https://github.com/webpack/webpack/pull/16893ModuleTypeConstantsfor plugins by @TheLarkInn in https://github.com/webpack/webpack/pull/16896Contributor Experience
New Contributors
Full Changelog: webpack/webpack@v5.77.0...v5.78.0
v5.77.0Compare Source
New Features
output.workerPublicPathby @thomastay in https://github.com/webpack/webpack/pull/16671Developer Experience
resolve.extensionserror message to suggest when"."is missing before the extension by @snitin315 in https://github.com/webpack/webpack/pull/16807Contributor Experience
New Contributors
Full Changelog: webpack/webpack@v5.76.3...v5.77.0
v5.76.3Compare Source
Bugfixes
experiments.outputModule(ES Module Output) by @snitin315 in https://github.com/webpack/webpack/pull/16809inspector/promises,readline/promises, andstream/consumersby @ShenHongFei in https://github.com/webpack/webpack/pull/16841NODE_PATHenv variable by @snitin315 in https://github.com/webpack/webpack/pull/16808resolveResourceErrorHintsby @snitin315 in https://github.com/webpack/webpack/pull/16806loaderstoken support tomoduleFilenameTemplatefunction call by @pgoldberg in https://github.com/webpack/webpack/pull/16756enabledLibraryTypesin internalContainerPluginby @PengBoUESTC in https://github.com/webpack/webpack/pull/16635New Contributors
Full Changelog: webpack/webpack@v5.76.2...v5.76.3
v5.76.2Compare Source
Bugfixes
publicPathRuntimewould cause concatenated runtime errors by @snitin315 in https://github.com/webpack/webpack/pull/16811onScriptCompletefunction by @ahaoboy in https://github.com/webpack/webpack/pull/16347RealContentHashPluginwas not respectingoutput.hashSalt's ability to cause a force recalculation of[contenthash]for emitted assets by @dmichon-msft #16789Performance
ModuleGraphdue to instance property declarations occurring outside of constructor by @snitin315 in https://github.com/webpack/webpack/pull/16830Developer Experience
webpack-sourcestypings forSourceinstances by @snitin315 in https://github.com/webpack/webpack/pull/16805New Contributors
Full Changelog: webpack/webpack@v5.76.1...v5.76.2
v5.76.1Compare Source
Fixed
assert/strictbuilt-in toNodeTargetPluginRevert
hashRegExplookup by @ryanwilsonperkin in https://github.com/webpack/webpack/pull/16759v5.76.0Compare Source
Bugfixes
generatedCodeinfo to fix bug in asset module cache restoration by @ryanwilsonperkin in https://github.com/webpack/webpack/pull/16703hashRegExplookup by @ryanwilsonperkin in https://github.com/webpack/webpack/pull/16759Features
targettoLoaderContexttype by @askoufis in https://github.com/webpack/webpack/pull/16781Security
Repo Changes
New Contributors
Full Changelog: webpack/webpack@v5.75.0...v5.76.0
v5.75.0Compare Source
Bugfixes
experiments.*normalize tofalsewhen opt-outNaN%windowbefore trying to access iteval-nosources-*actually exclude sourcesFeatures
@importto extenal CSS when using experimental CSS in nodei64support to the deprecated WASM implementationDeveloper Experience
EnableWasmLoadingPluginv5.74.0Compare Source
Features
resolve.extensionAliasoption which allows to alias extensions.jsextension to imports when the file really has a.tsextension (typescript +"type": "module")ProvidePluginBugfixes
shareScopeoption forModuleFederationPlugin"use-credentials"also for same origin scriptsPerformance
Extensibility
HarmonyImportDependencyfor pluginsv5.73.0Compare Source
Features
dynamicImportModeand prefetch and preloadimport { createRequire } from "module"in source codeBugfixes
return"field"in ModuleDeveloper Experience
PathDatain typingsv5.72.1Compare Source
Bugfixes
__webpack_nonce__with HMRinoperator in some casesthis.importModulev5.72.0Compare Source
Features
Bugfixes
inoperator with nested exportsv5.71.0Compare Source
Features
uniqueNamewhen using aoutput.librarywhich includes placeholdersinof a imported bindingBugfixes
chunkLoadingoption in module moduleevaluateExpressionreturnsnulllazy-onceContext modulesrunAsChildcallbackv5.70.0Compare Source
Features
baseUritoentryoptions to configure a static base uri (the base ofnew URL())__webpack_exports_info__.name.canMangleexperiments.buildHttpimport.meta.webpackContextas ESM alternative torequire.contextBugfixes
globalto a variableexperiments.outputModuleandloaderContext.importModulewith multiple chunksoutput.cleanwill keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browserPerformance
Developer Experience
Contributing
v5.69.1Compare Source
Revert
v5.69.0Compare Source
Features
resolve.aliasorresolve.modules) when creating an context moduleutil/typesto node.js built-in modules__webpack_exports_info__.<name>.canMangleapiBugfixes
stageoption when instrumenting plugins for the ProfilingPlugin#in paths of loadersexperiments.buildHttpContributing
Developer Experience
v5.68.0Compare Source
Features
__webpack_module__and__webpack_module__.idto the apiBugfixes
v5.67.0Compare Source
Features
experiments.cssSyncModuleIdsPluginto sync module ids between server and client compilationDeterministicModuleIdsPluginto allow to generate equal idsDeveloper Experience
nullto errors in callbacksBugfixes
experiments.css|webpack-hot-middleware/clientfrom lazy compilationContributing
v5.66.0Compare Source
Features
output.library.type: "commonjs-static"to emit a statically analyse-able commonjs module (for node.js esm interop support)experiments.css(very experimental)Bugfixes
experiments.lazyCompilation[absolute-resource-path]for SourceMap module namingPerformance
watchOptions.aggregateTimeoutto 20msv5.65.0Compare Source
Features
undefinednowBugfixes
singletonflag withoutrequiredVersionin Module Federationwatchpackfor context time info bugfixPerformance
Developer Experience
output.globalObjectcontains a non-trival expressionscripttype external with invalid syntaxResolver,StatsOptionsandResolvePluginInstancePreparations for the future
hashDigestLengthwill default to 16 in webpack 6 (experiments.futureDefaults)v5.64.4Compare Source
Bugfixes
Performance
Developer Experience
v5.64.3Compare Source
Performance
Infinityis used in configurationv5.64.2Compare Source
Bugfixes
v5.64.1Compare Source
Bugfixes
require(...).propertyinrequire.ensureoutput.clean: trueunsafeCachewithinmanagedPaths(node_modules)v5.64.0Compare Source
Features
asyncChunks: booleanoption to disable creation of async chunksBugfixes
experiments.backCompat: falsePerformance
v5.63.0Compare Source
Features
chunkLoading: falseto disable on-demand loadingBugfixes
import 'single-quote'in esm build dependenciesv5.62.2Compare Source
Bugfixes
__system_context__injection when using thelibraryoption on entrypointexportsPresence: "error"by default infutureDefaultsexportPresence->exportsPresencetypoexperiments.cacheUnaffectedv5.62.1Compare Source
Bugfix
;v5.62.0Compare Source
Features
parser.javascript.reexportExportsPresence: falseallows to disable warnings for non-existing exports during the migration fromexport ... from "..."toexport type ... from "..."for type reexports in TypeScriptexperiments.backCompat: falseto disable some expensive deprecations for better performanceBugfixes
['catch']instead of.catchfor better ES3 supportnew (require("...")).Something(){ require }object literalssplitChunks.chunksoption is now correctly used forsplitChunks.fallbackCacheGroup.maxSizetoolistenoption, allow to omitportDeveloper Experience
/// <reference types="webpack/module" />to use the typings in typescript modules"types": [..., "webpack/module"]in tsconfigv5.61.0Compare Source
Bugfixes
pathsubmodules in the node.js default externalsPerformance
Contribution
v5.60.0Compare Source
Features
experiments.lazyCompilation. e. g. port, https stuffBugfixes
output.hashFunctionused to persistent caching toobuildDependenciesSet correctly when loaders are added inbeforeLoadershookv5.59.1Compare Source
Bugfixes
experiments.buildHttpv5.59.0Compare Source
Features
/*#__PURE__*/forObject()in generated codemanaged/immutablePathsexperiments.buildHttpsplitChunks.minSizeReductionoptionBugfixes
waitForwhen modules are unsafe cachedv5.58.2Compare Source
Bugfixes
Performance
v5.58.1Compare Source
Bugfixes
.webpack[]suffix to not execute rulesv5.58.0Compare Source
Features
diagnostics_channelto node builtinsPerformance
v5.57.1Compare Source
Bugfix
v5.57.0Compare Source
Performance
Bugfixes
v5.56.1Compare Source
Bugfix
v5.56.0Compare Source
Performance
v5.55.1Compare Source
Bugfixes
experiments.cacheUnaffectedv5.55.0Compare Source
Performance
experiments.cacheUnaffectedmodule.unsafeCachev5.54.0Compare Source
Features
&&||and??output.hashFunctionevalis used in a moduleBugfixes
Performance
output.hashFunction: "xxhash64"for a super fast wasm based hash functionexperiments.cacheUnaffectedwhich caches computations for modules that are unchanged and reference only unchanged modulesv5.53.0Compare Source
Features
node.__dirname/__filename: "warn-mock"which warns on usage (will be enabled in webpack 6 by default)Bugfixes
stream/webto Node.js externalsExperiments
experiments.futureDefaultsto enable defaults for webpack 6v5.52.1Compare Source
Performance
v5.52.0Compare Source
Feature
experiments.executeModuleis enabled by default and the option is removedthis.importModuleBugfixes
__WEBPACK_EXTERNAL_MODULE_null__, which leads to merged externals.webpack[...]extension is not part of matching and module namev5.51.2Compare Source
Bugfixes
[contenthash]is undefined when usingnew Workerv5.51.1Compare Source
Bugfixes
library: "module"propages top-level-await correctlyv5.51.0Compare Source
Bugfixes
yarn linking of dependencies.Compilation.addModuleChainandCompilation.addModuleTreev5.50.0Compare Source
Features
#! ...) are now handled by webpackPerformance
v5.49.0Compare Source
Features
experiments.buildHttpto buildhttp(s)://imports instead of keeping them externalwebpack.lockfile with integrity andwebpack.lock.datawith cached content that should be committed(might be disabled with
experiments.buildHttp.upgrade: false)(exception:
Cache-Control: no-cache).webpack.lock.datapersisting can be disabled withexperiments.buildHttp.cacheLocation: false.That will will introduce a availability risk.
(webpack cache will be used to cache network responses)
Bugfixes
splitChunks.maxSizeintroduces in the last releasebailis setPerformance
v5.48.0Compare Source
Features
Bugfixes
v5.47.1[Compare Source](https://togithub.com/webpack/we
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Never, 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 Mend Renovate. View repository job log here.