diff --git a/.changeset/010-concatenate-module-wrapping.md b/.changeset/010-concatenate-module-wrapping.md new file mode 100644 index 00000000000..3865e913017 --- /dev/null +++ b/.changeset/010-concatenate-module-wrapping.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Wrap concatenated modules in lazy `__webpack_require__.cw` accessors and inline `require()`, keeping a wrapped body's names and side effects intact. diff --git a/.changeset/011-performance-duplicate-packages.md b/.changeset/011-performance-duplicate-packages.md new file mode 100644 index 00000000000..2e50e628ac4 --- /dev/null +++ b/.changeset/011-performance-duplicate-packages.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `performance.duplicatePackages` to report packages included more than once. diff --git a/.changeset/012-rule-set-description-relative-path.md b/.changeset/012-rule-set-description-relative-path.md new file mode 100644 index 00000000000..5affce9a8b0 --- /dev/null +++ b/.changeset/012-rule-set-description-relative-path.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add the `descriptionRelativePath` module rule condition. diff --git a/.changeset/012-runtime-in-large-chunk-hint.md b/.changeset/012-runtime-in-large-chunk-hint.md new file mode 100644 index 00000000000..3844e4ee4bf --- /dev/null +++ b/.changeset/012-runtime-in-large-chunk-hint.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Recommend `optimization.runtimeChunk` when a large entrypoint carries the runtime. diff --git a/.changeset/013-optimization-bailout-analysis.md b/.changeset/013-optimization-bailout-analysis.md new file mode 100644 index 00000000000..2e9a50a8c2a --- /dev/null +++ b/.changeset/013-optimization-bailout-analysis.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Report inner-graph, AMD and bare `module` bailouts in `optimizationBailout`. diff --git a/.changeset/013-performance-circular-dependencies.md b/.changeset/013-performance-circular-dependencies.md new file mode 100644 index 00000000000..baeaae2166b --- /dev/null +++ b/.changeset/013-performance-circular-dependencies.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `performance.circularDependencies` using the export-inlining cycle scan. diff --git a/.changeset/013-performance-hints-config-and-output.md b/.changeset/013-performance-hints-config-and-output.md new file mode 100644 index 00000000000..d56c9a52353 --- /dev/null +++ b/.changeset/013-performance-hints-config-and-output.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `performance.osDependentRules`, `performance.cacheEffectiveness`, `performance.duplicateModules` and `performance.redundantDynamicImports`, and name the largest modules in an oversized asset. diff --git a/.changeset/013-performance-hints-stats.md b/.changeset/013-performance-hints-stats.md new file mode 100644 index 00000000000..ee1c85dc9a2 --- /dev/null +++ b/.changeset/013-performance-hints-stats.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `performance.hints: "stats"` to report hints in stats only. diff --git a/.changeset/013-performance-optimization-hints.md b/.changeset/013-performance-optimization-hints.md new file mode 100644 index 00000000000..fa3bd64399e --- /dev/null +++ b/.changeset/013-performance-optimization-hints.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add performance hints reporting why webpack skipped an optimization. diff --git a/.changeset/013-performance-unused-reexports.md b/.changeset/013-performance-unused-reexports.md new file mode 100644 index 00000000000..ee4a064c10e --- /dev/null +++ b/.changeset/013-performance-unused-reexports.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `performance.unusedReexports` to report modules a barrel drags in unused. diff --git a/.changeset/013-unused-rule-warning.md b/.changeset/013-unused-rule-warning.md new file mode 100644 index 00000000000..65e0bbcb6fd --- /dev/null +++ b/.changeset/013-unused-rule-warning.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `performance.unusedRules` to report rules that never matched a module. diff --git a/.changeset/014-externals-side-effects.md b/.changeset/014-externals-side-effects.md new file mode 100644 index 00000000000..6ef56d3543e --- /dev/null +++ b/.changeset/014-externals-side-effects.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Allow marking externals as side-effect-free with a `sideEffects` flag. diff --git a/.changeset/014-hint-report-order.md b/.changeset/014-hint-report-order.md new file mode 100644 index 00000000000..d24b6565c55 --- /dev/null +++ b/.changeset/014-hint-report-order.md @@ -0,0 +1,5 @@ +--- +"webpack": patch +--- + +Report performance hints in a stable order when entries tie. diff --git a/.changeset/015-externals-node-modules-preset.md b/.changeset/015-externals-node-modules-preset.md new file mode 100644 index 00000000000..d5f90283f25 --- /dev/null +++ b/.changeset/015-externals-node-modules-preset.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add the `externalsPresets.nodeModules` preset with an `allowlist` option to externalize installed packages, replacing the `webpack-node-externals` plugin. diff --git a/.changeset/015-umd-sap-ui-define.md b/.changeset/015-umd-sap-ui-define.md new file mode 100644 index 00000000000..694f38d327d --- /dev/null +++ b/.changeset/015-umd-sap-ui-define.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add `output.library.umdSapUiDefine` to emit a `sap.ui.define` branch in UMD. diff --git a/.changeset/016-memory-cache-etag-by-value.md b/.changeset/016-memory-cache-etag-by-value.md new file mode 100644 index 00000000000..3e73f1ab3d2 --- /dev/null +++ b/.changeset/016-memory-cache-etag-by-value.md @@ -0,0 +1,5 @@ +--- +"webpack": patch +--- + +Let a memory-cache etag mismatch fall through to the file cache instead of reporting a miss. diff --git a/.changeset/017-css-custom-media-constants.md b/.changeset/017-css-custom-media-constants.md new file mode 100644 index 00000000000..03c8ad69648 --- /dev/null +++ b/.changeset/017-css-custom-media-constants.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Resolve `@custom-media` values that are `true` / `false` or name another custom media. diff --git a/.changeset/018-css-server-styles.md b/.changeset/018-css-server-styles.md new file mode 100644 index 00000000000..d8b27910b96 --- /dev/null +++ b/.changeset/018-css-server-styles.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Add the `__webpack_css_server_styles__` module variable to read the CSS collected while rendering without a DOM, and keep that CSS in the order the styles were applied. diff --git a/.changeset/018-html-head-hmr-patch.md b/.changeset/018-html-head-hmr-patch.md new file mode 100644 index 00000000000..1fc2ac38c79 --- /dev/null +++ b/.changeset/018-html-head-hmr-patch.md @@ -0,0 +1,5 @@ +--- +"webpack": minor +--- + +Patch the HTML `
` in place on hot update instead of forcing a full reload, including when a ` + +