webpack/webpack
### [`v4.27.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.27.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.26.1...v4.27.0)
### Features
- When using functions as plugins they are now also called with the compiler as parameter
- This make it possible to use arrow functions as plugins
- splitChunks.maxSize now emits a warning when minSize > maxSize
- Loaders have now access to a `getResolve` method to create their own resolver function with custom options
### Bugfixes
- splitChunks.cacheGroups.xxx.enforce now behaves as documented and enforce chunk creation
- splitChunks.cacheGroups.xxx.enforce now no longer deletes minSize for maxSize
- fixes a bug where splitChunks cause cacheGroups to be incorrectly merged when using the same name
- now conditions are considered per cacheGroup
- the correct cache group comment is displayed in stats
- fixes a bug which causes providedExports not to be updated on rebuilds when using `export * from`
### [`v4.26.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.26.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.26.0...v4.26.1)
### Bugfixes
- fix a bug where splitChunks.maxSize causes a hanging build
- fix a bug where splitChunks.maxSize crashes when minSize > maxSize
- fix a edgecase where splitChunks.maxSize can cause chunks bigger than minSize
- remove unnecessary code from global builtin
### [`v4.26.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.26.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.25.1...v4.26.0)
### Features
- Switch from uglify-es to terser as default minimizer
Note: While they are officially backward-compatible, it can still happen that a new bugs occurs with terser, which break your production builds. Make sure to validate your production builds after upgrading to this version. (Note that it's always a good idea to test your output assets before deploying.)
If you want to report bugs to terser (), please provide a minimal repro case with minimized and **non-minimized** code. You can configure webpack to generate non-minimized code in production mode by setting `optimization.minimize: false`. When reporting a bug to terser, best report a repro case which doesn't require running webpack and is reproducible with only the terser command line.
See [`optimization.minimizers`](https://webpack.js.org/configuration/optimization/#optimization-minimizer) configuration option to switch back to uglify-es or provide additional minimize options for terser.
### [`v4.25.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.25.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.25.0...v4.25.1)
### Bugfixes
- fix replacement of compile-time constant expression when expression is a wrapped expression (string prefix and/or suffix).
### [`v4.25.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.25.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.24.0...v4.25.0)
### Features
- add `format` option to `DllPlugin` to allow generating formated manifest json
- add flags to `ProgressPlugin` to add and remove information
- entrypoint counter was added, but disabled by default to avoid breaking change
### Bugfixes
- fix code generation for context dependencies when replacing compile-time constant expressions
- disable the effect of the ProvidePlugin for `.mjs`
### [`v4.24.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.24.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.23.1...v4.24.0)
### Features
- allow to pass no dependencies to DefinePlugin runtime value
- `DefinePlugin.runtimeValue(() => {...}, true)` is always evaluated
- add `module` argument to `DefinePlugin.runtimeValue`
### Bugfixes
- update webassemblyjs dependency
- fix bug when using entry names that look like numbers with HMR
Renovate configuration
:date: Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
4.23.1
->4.27.0
Release Notes
webpack/webpack
### [`v4.27.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.27.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.26.1...v4.27.0) ### Features - When using functions as plugins they are now also called with the compiler as parameter - This make it possible to use arrow functions as plugins - splitChunks.maxSize now emits a warning when minSize > maxSize - Loaders have now access to a `getResolve` method to create their own resolver function with custom options ### Bugfixes - splitChunks.cacheGroups.xxx.enforce now behaves as documented and enforce chunk creation - splitChunks.cacheGroups.xxx.enforce now no longer deletes minSize for maxSize - fixes a bug where splitChunks cause cacheGroups to be incorrectly merged when using the same name - now conditions are considered per cacheGroup - the correct cache group comment is displayed in stats - fixes a bug which causes providedExports not to be updated on rebuilds when using `export * from` ### [`v4.26.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.26.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.26.0...v4.26.1) ### Bugfixes - fix a bug where splitChunks.maxSize causes a hanging build - fix a bug where splitChunks.maxSize crashes when minSize > maxSize - fix a edgecase where splitChunks.maxSize can cause chunks bigger than minSize - remove unnecessary code from global builtin ### [`v4.26.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.26.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.25.1...v4.26.0) ### Features - Switch from uglify-es to terser as default minimizer Note: While they are officially backward-compatible, it can still happen that a new bugs occurs with terser, which break your production builds. Make sure to validate your production builds after upgrading to this version. (Note that it's always a good idea to test your output assets before deploying.) If you want to report bugs to terser (Renovate configuration
:date: Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.