webpack/webpack
### [`v4.20.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.20.2)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.20.1...v4.20.2)
### Bugfixes
- keep comments in `export default` in concatenated modules
### [`v4.20.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.20.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.20.0...v4.20.1)
### Bugfixes
- fix crash when using `libraryTarget: "amd"` without library name
### [`v4.20.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.20.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.19.1...v4.20.0)
### Bugfixes
- update dependencies (webpack-sources, @webassemblyjs/\*)
- Handle errors thrown in renderes without crashing
### Internal changes
- Extended typings
- Update internal structure of options schema to generate typings
- Note: this exposed an issue in webpack-cli, you need to upgrade to webpack-cli@3.1.1
### [`v4.19.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.19.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.19.0...v4.19.1)
### Bugfixes
- Internal requested filename for `import()` with `target: "electron-main"` uses correct path separator on windows
(This fixes a problem with filemappings in vscode)
- `devtool: "source-map"` and variants generate SourceMaps when output file is `.mjs`
- `browser` field as object is used when using `target: "electron-renderer"`
- Comments near `export default` are preserved
- Passing an array as `externals` value, now works correctly as documented
### [`v4.19.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.19.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.18.1...v4.19.0)
### Bugfixes
- Create a hash of the whole runtime code for the chunk/contenthash of entry chunks
- Before hash was (incorrectly) calculated from (some) inputs
### [`v4.18.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.18.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.18.0...v4.18.1)
### Bugfixes
- Update tapable version, which fixes a memory leak
### [`v4.18.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.18.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.3...v4.18.0)
### Features
- Upgrade webassemblyjs dependency
### [`v4.17.3`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.3)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.2...v4.17.3)
### Bugfixes
- Fix exit code when multiple CLIs are installed
- No longer recommend installing webpack-command, but still support it when installed
### [`v4.17.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.2)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.1...v4.17.2)
### Bugfixes
- fix a spacing issue with the ProgressPlugin on some terminals
- force-upgrade webpack-sources for performance improvement (was already in semver range)
### [`v4.17.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.0...v4.17.1)
### Bugfixes
- fix missing reexports in `export *` in a concatenated module
### [`v4.17.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.5...v4.17.0)
### Features
- allow to provide custom functions to IgnorePlugin
### Bugfixes
- remove incorrectly emitted dead code in concatenated modules
- chunk ids contribute to `[contenthash]` for js assets
- fix crash when trying to export globals in concatenated modules
### [`v4.16.5`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.5)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.4...v4.16.5)
### Bugfixes
- (resource) query now works in `import()`
- adding entries multiple times now overrides properly
- This caused an issue when using `webpack-hot-client` and runtime chunks
### [`v4.16.4`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.4)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.3...v4.16.4)
### Bugfixes
- fix `chunkAsset` hook in HotModuleReplacementPlugin
### [`v4.16.3`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.3)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.2...v4.16.3)
### Bugfixes
- fix missing modules with chunks nested in unneeded `require.ensure`s.
### [`v4.16.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.2)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.1...v4.16.2)
### Bugfixes
- handle `module.require` like `require`
- emit warnings for `module.main.require` and `module.parent.require`
- sort reasons in stats
- handle errors when parsing manifest in DllReferencePlugin
### [`v4.16.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.0...v4.16.1)
### Bugfixes
- fix reversed order when using optimization.occurrenceOrder (default in production mode)
- `output.hashDigest` has a more relaxed schema
- update dependencies
- fix typo in schema
### Internal changes
- typescript 3 rc
### [`v4.16.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.15.1...v4.16.0)
### Features
- add wasm support for `electron-renderer` target
- add `optimization.moduleIds` and `optimization.chunkIds` options to replace other options
### Bugfixes
- fix order of side effect evaluation for exported dependencies in side-effect-free modules
- fix some typos
- Support the case when passing an array to `output.library.root` and using a devtool
- fix a HMR logging message issue in browser where `err.stack` is not set
- add missing default extensions to the DllReferencePlugin
- module/chunk ids in Stats now sort numerical when they are numbers
- fix lost chunk reasons when using `optimization.splitChunks.maxSize`
- fix cases where `Dependency.loc` is a string instead of an object
### Deprecations
- deprecated `Dependency.compare` in favor of `compareLocations`
- `optimization.namedModules` is now deprecated
- `optimization.hashedModuleIds` is now deprecated
- `optimization.namedChunks` is now deprecated
- `optimization.occurrenceOrder` is now deprecated
### [`v4.15.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.15.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.15.0...v4.15.1)
### Bugfixes
- fix memory leaks when using HMR and in SplitChunksPlugin cache
- fix undefined automaticNameDelimiter in cache groups when using maxSize
- fix ProfilingPlugin for node.js 10 and 6
### [`v4.15.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.15.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.14.0...v4.15.0)
### Features:
- add `maxSize` option for `splitChunks` (experimental)
- add a helpful error when using wasm in a initial chunk
### [`v4.14.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.14.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.13.0...v4.14.0)
### Features
- add new hook `Compilation.dependencyReference` to modify the dependency references
### Bugfixes
- Allow chunks to emit multiple assets to the same filename when hash matches
### [`v4.13.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.13.0)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.12.2...v4.13.0)
### Features
- the `DefinePlugin` now supports `runtimeValue`s to pass computed values with dependencies that can change over time
- added `optimization.hashedModuleIds`
- crossOrigin for chunks is only set when really needed
- added per chunk group indicies
- updated enhanced-resolve
- You can now use absolute paths as keys to `resolve.alias`
### Bugfixes
- when delegating CLI the `bin` fields are used
- when assigning indicies sync dependencies are now walked before async dependencies
### [`v4.12.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.12.2)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.12.1...v4.12.2)
### Bugfixes
- fix crash when using invalid JSON with HMR
- fix missing modules when a side-effect-free package is root of module concatenation
- update chunkhash when entry-chunks list or prefetched chunks change
### [`v4.12.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.12.1)
[Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.12.0...v4.12.1)
### Bugfixes
- fix problem causing a stack overflow when reexporting circular
- fix a bug causing missing modules in bundles when using `splitChunks`
- run modules in correct order when using `import` with `sideEffects: false`
- added order to `DependencyReference`
- add missing support for `[chunkhash]` in `target: "webworker"`
- fix bug causing incomplete profile (race condition) with the `ProfilingPlugin`
### Internal changes
- Added more types
- lint files on commit with `lint-staged`
Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
: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.12.0
->4.20.2
Release Notes
webpack/webpack
### [`v4.20.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.20.2) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.20.1...v4.20.2) ### Bugfixes - keep comments in `export default` in concatenated modules ### [`v4.20.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.20.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.20.0...v4.20.1) ### Bugfixes - fix crash when using `libraryTarget: "amd"` without library name ### [`v4.20.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.20.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.19.1...v4.20.0) ### Bugfixes - update dependencies (webpack-sources, @webassemblyjs/\*) - Handle errors thrown in renderes without crashing ### Internal changes - Extended typings - Update internal structure of options schema to generate typings - Note: this exposed an issue in webpack-cli, you need to upgrade to webpack-cli@3.1.1 ### [`v4.19.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.19.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.19.0...v4.19.1) ### Bugfixes - Internal requested filename for `import()` with `target: "electron-main"` uses correct path separator on windows (This fixes a problem with filemappings in vscode) - `devtool: "source-map"` and variants generate SourceMaps when output file is `.mjs` - `browser` field as object is used when using `target: "electron-renderer"` - Comments near `export default` are preserved - Passing an array as `externals` value, now works correctly as documented ### [`v4.19.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.19.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.18.1...v4.19.0) ### Bugfixes - Create a hash of the whole runtime code for the chunk/contenthash of entry chunks - Before hash was (incorrectly) calculated from (some) inputs ### [`v4.18.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.18.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.18.0...v4.18.1) ### Bugfixes - Update tapable version, which fixes a memory leak ### [`v4.18.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.18.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.3...v4.18.0) ### Features - Upgrade webassemblyjs dependency ### [`v4.17.3`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.3) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.2...v4.17.3) ### Bugfixes - Fix exit code when multiple CLIs are installed - No longer recommend installing webpack-command, but still support it when installed ### [`v4.17.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.2) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.1...v4.17.2) ### Bugfixes - fix a spacing issue with the ProgressPlugin on some terminals - force-upgrade webpack-sources for performance improvement (was already in semver range) ### [`v4.17.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.17.0...v4.17.1) ### Bugfixes - fix missing reexports in `export *` in a concatenated module ### [`v4.17.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.17.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.5...v4.17.0) ### Features - allow to provide custom functions to IgnorePlugin ### Bugfixes - remove incorrectly emitted dead code in concatenated modules - chunk ids contribute to `[contenthash]` for js assets - fix crash when trying to export globals in concatenated modules ### [`v4.16.5`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.5) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.4...v4.16.5) ### Bugfixes - (resource) query now works in `import()` - adding entries multiple times now overrides properly - This caused an issue when using `webpack-hot-client` and runtime chunks ### [`v4.16.4`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.4) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.3...v4.16.4) ### Bugfixes - fix `chunkAsset` hook in HotModuleReplacementPlugin ### [`v4.16.3`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.3) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.2...v4.16.3) ### Bugfixes - fix missing modules with chunks nested in unneeded `require.ensure`s. ### [`v4.16.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.2) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.1...v4.16.2) ### Bugfixes - handle `module.require` like `require` - emit warnings for `module.main.require` and `module.parent.require` - sort reasons in stats - handle errors when parsing manifest in DllReferencePlugin ### [`v4.16.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.16.0...v4.16.1) ### Bugfixes - fix reversed order when using optimization.occurrenceOrder (default in production mode) - `output.hashDigest` has a more relaxed schema - update dependencies - fix typo in schema ### Internal changes - typescript 3 rc ### [`v4.16.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.16.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.15.1...v4.16.0) ### Features - add wasm support for `electron-renderer` target - add `optimization.moduleIds` and `optimization.chunkIds` options to replace other options ### Bugfixes - fix order of side effect evaluation for exported dependencies in side-effect-free modules - fix some typos - Support the case when passing an array to `output.library.root` and using a devtool - fix a HMR logging message issue in browser where `err.stack` is not set - add missing default extensions to the DllReferencePlugin - module/chunk ids in Stats now sort numerical when they are numbers - fix lost chunk reasons when using `optimization.splitChunks.maxSize` - fix cases where `Dependency.loc` is a string instead of an object ### Deprecations - deprecated `Dependency.compare` in favor of `compareLocations` - `optimization.namedModules` is now deprecated - `optimization.hashedModuleIds` is now deprecated - `optimization.namedChunks` is now deprecated - `optimization.occurrenceOrder` is now deprecated ### [`v4.15.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.15.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.15.0...v4.15.1) ### Bugfixes - fix memory leaks when using HMR and in SplitChunksPlugin cache - fix undefined automaticNameDelimiter in cache groups when using maxSize - fix ProfilingPlugin for node.js 10 and 6 ### [`v4.15.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.15.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.14.0...v4.15.0) ### Features: - add `maxSize` option for `splitChunks` (experimental) - add a helpful error when using wasm in a initial chunk ### [`v4.14.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.14.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.13.0...v4.14.0) ### Features - add new hook `Compilation.dependencyReference` to modify the dependency references ### Bugfixes - Allow chunks to emit multiple assets to the same filename when hash matches ### [`v4.13.0`](https://renovatebot.com/gh/webpack/webpack/releases/v4.13.0) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.12.2...v4.13.0) ### Features - the `DefinePlugin` now supports `runtimeValue`s to pass computed values with dependencies that can change over time - added `optimization.hashedModuleIds` - crossOrigin for chunks is only set when really needed - added per chunk group indicies - updated enhanced-resolve - You can now use absolute paths as keys to `resolve.alias` ### Bugfixes - when delegating CLI the `bin` fields are used - when assigning indicies sync dependencies are now walked before async dependencies ### [`v4.12.2`](https://renovatebot.com/gh/webpack/webpack/releases/v4.12.2) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.12.1...v4.12.2) ### Bugfixes - fix crash when using invalid JSON with HMR - fix missing modules when a side-effect-free package is root of module concatenation - update chunkhash when entry-chunks list or prefetched chunks change ### [`v4.12.1`](https://renovatebot.com/gh/webpack/webpack/releases/v4.12.1) [Compare Source](https://renovatebot.com/gh/webpack/webpack/compare/v4.12.0...v4.12.1) ### Bugfixes - fix problem causing a stack overflow when reexporting circular - fix a bug causing missing modules in bundles when using `splitChunks` - run modules in correct order when using `import` with `sideEffects: false` - added order to `DependencyReference` - add missing support for `[chunkhash]` in `target: "webworker"` - fix bug causing incomplete profile (race condition) with the `ProfilingPlugin` ### Internal changes - Added more types - lint files on commit with `lint-staged`Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
: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.