This Pull Request updates dependency webpack from ~3.12.0 to ~4.12.0
Note: This PR was created on a configured schedule ("every weekend" in timezone Europe/London) and will not receive updates outside those times.
Release Notes
### [`v4.12.0`](https://github.com/webpack/webpack/releases/v4.12.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.11.1...v4.12.0)
### Features
* Errors from loaders show the loader path in the error message
* add support for optional catch and line and paragraph separator in strings (ES2019)
### Bugfixes
* fixes a bug where chunks have duplicate ids when using records
* fix bubbling in HMR for `import()` when importing a non-ESM
* fix issue with in installing with pnpm
* update dependencies of the ProfilingPlugin
---
### [`v4.11.1`](https://github.com/webpack/webpack/releases/v4.11.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.11.0...v4.11.1)
### Features
* add `optimization.mangleWasmImports` option to disable mangling of wasm imports
### Bugfixes
* disable wasm import mangling temporary because of bugs in the underlying wasm processing
---
### [`v4.11.0`](https://github.com/webpack/webpack/releases/v4.11.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.10.2...v4.11.0)
### Features
* support `reportProgress` in `afterEmit`
* Warnings are now emitted if magic comments don't compile
* Added support for matchResource inline request for loaders
* Using webpackPrefetch in entry chunk now triggers prefetching in runtime
* No link tag needed for this in HTML
* Warnings will be emitted when trying to use i64-functions imported from wasm
### Bugfixes
* get_global initializer in wasm globals now work correctly
* Reexporting globals is now handled correctly
* Error origins and locations are now displayed correctly
---
### [`v4.10.2`](https://github.com/webpack/webpack/releases/v4.10.2)
[Compare Source](https://github.com/webpack/webpack/compare/v4.10.1...v4.10.2)
### Bugfixes
* order of wasm globals is correctly preversed while rewriting
* skipping side-effect-free modules up to a concatenated modules will not longer cause `null` module ids
---
### [`v4.10.1`](https://github.com/webpack/webpack/releases/v4.10.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.10.0...v4.10.1)
### Bugfixes
* update reasons correctly when skipping side-effect-free modules
---
### [`v4.10.0`](https://github.com/webpack/webpack/releases/v4.10.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.9.2...v4.10.0)
### Features
* Export and import name strings in them wasm are mangled
* Unused exports in wasm are removed (Tree Shaking)
* Don't expect size improvements yet since there is not minimizer for WASM yet which does the Dead Code Elimination, which is the second part for this optimization
* Direct WASM dependencies are enforced for:
* functions imports with i64 parameters or return values
* memory and table imports
* generate shorter wasm runtime code
* ESM namespace object now have `Symbol.toStringTag` `"Module"`
### Bugfixes
* generate correct initializer for imported globals in wasm
* side-effect-free modules referenced by `export * from` are no longer including in the bundle
* the side-effects optimization is now possible in incremental compilation
---
### [`v4.9.2`](https://github.com/webpack/webpack/releases/v4.9.2)
[Compare Source](https://github.com/webpack/webpack/compare/v4.9.1...v4.9.2)
### Bugfixes
* functions is defined because used (fixes undeclared function error in firefox)
* progress plugin works now in MultiCompiler scenarios again
---
### [`v4.9.1`](https://github.com/webpack/webpack/releases/v4.9.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.9.0...v4.9.1)
### Bugfixes
* fix parameter references in default parameters
### Internal changes
* change test cases to text format
---
### [`v4.9.0`](https://github.com/webpack/webpack/releases/v4.9.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.8.3...v4.9.0)
### Features
* `BannerPlugin` supports a function as `banner` option
* allow `serve` property in configuration schema
* add `entryOnly` option to `DllPlugin` to only expose modules in the entry point
* Allow to choose between `webpack-cli` and `webpack-command`
* improve error message when JSON parsing fails
* allow BOM in JSON
* sort `usedIds` in `records` for stablility
### Bugfixes
* align module not found error message with node.js
* fix behavior of `splitChunks` when request limit has reached (caused suboptimal splitting)
* fix handling of RegExp in records (caused absolute path in records)
* fix handling of circular chunks (caused missing `__webpack_require__.e`)
* `runtimeChunk` is even generated when all modules are moved by `splitChunks` (caused multiple runtime chunks instead of single one)
* string ids are no longer recorded (caused duplicate/wrong chunk ids)
* fix link to migration guide in error message
### Internal changes
* add more typings
* Use travis stages
* add `many-pages` example
---
### [`v4.8.3`](https://github.com/webpack/webpack/releases/v4.8.3)
[Compare Source](https://github.com/webpack/webpack/compare/v4.8.2...v4.8.3)
### Bugfixes
* fix missing `debug` dependency
* support arrays in `output.library.root`
---
### [`v4.8.2`](https://github.com/webpack/webpack/releases/v4.8.2)
[Compare Source](https://github.com/webpack/webpack/compare/v4.8.1...v4.8.2)
### Bugfixes
* WASM parser bugfixes
* fix edge case when replacing top-level this in IIFE
* avoid parser wasm many times
---
### [`v4.8.1`](https://github.com/webpack/webpack/releases/v4.8.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.8.0...v4.8.1)
### Bugfixes
* fix some WASM parsing issues
---
### [`v4.8.0`](https://github.com/webpack/webpack/releases/v4.8.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.7.0...v4.8.0)
### Features
* new WASM pipeline
* use `instantiateStreaming` when available
* allow circular dependencies between wasm modules (functions only)
### Bugfixes
* fix a bug where runtime code for wasm was incorrectly cached
* fix a bug where a splitChunks cacheGroup without name wasn't executed
---
### [`v4.7.0`](https://github.com/webpack/webpack/releases/v4.7.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.6.0...v4.7.0)
### Features
* add webpackIgnore magic comment (`import(/* webpackIgnore: true */ "...")`) to keep the import in the bundle
* add chunkGroups to Stats
* `chunkGroups` option
* `namedChunkGroups` property
* `Chunk Group` text output
### Bugfixes
* prevent chunk merging for the runtimeChunk
* fix a caching issue for concatenated modules
* namedModules now handle name conflicts correctly
* fix a crash when using `[contenthash:n]` without on-demand-chunks
### Internal changes
* testing uses Jest now
* testing in node.js 10 too
* Performance improvements
---
### [`v4.6.0`](https://github.com/webpack/webpack/releases/v4.6.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.5.0...v4.6.0)
### Features
* improve stats output alignment
* improve stats text output when all exports are used
* add `webpackPrefetch`/`webpackPreload` magic comments to `import()`
* add `stats.entrypoints[].children` and `stats.entrypoints[].childAssets` to stats json
* add prefetched/preloaded chunks and assets to stats text output
* Performance improvements
### Bugfixes
* Escape chunk ids for `target: "webworker"`
* fix `this` to `undefined` ESM replacement in function default values
* `new require(...)` is weird, but now behaves like in node.js
* fix behavior of `export * from "commonjs"` with partial override
* fixed build time output in current locale in stats text output
* fixed ChunkModuleIdRangePlugin and add tests
* avoid race condition when using the loadModule loader API
* fix default value of `output.globalObject` in `target: "node-webkit"`
* fix a bug with `loadModules` and dependencies in these modules
* fix hot.accept parser plugin to allow defined values as argument
* print `unknown size` when size is unknown
* fix a bug where some chunks were missing in the "single" runtime chunk
* fix cloning of `optimization` configuration
### Internal changes
* Set up infrastructure for linting typings with TypeScript
---
### [`v4.5.0`](https://github.com/webpack/webpack/releases/v4.5.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.4.1...v4.5.0)
### Features
* Performance improvements
* Improve readablility of error messages with long loader string
### Bugfixes
* Sort child compilations for consistent compilation hash
* Fix bug causing all symbols to be renamed when concatenating modules
### Contributing
* add `yarn setup` script for bootstrapping local development
---
### [`v4.4.1`](https://github.com/webpack/webpack/releases/v4.4.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.4.0...v4.4.1)
### Bugfixes
* fix yarn/npm install script on windows
---
### [`v4.4.0`](https://github.com/webpack/webpack/releases/v4.4.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.3.0...v4.4.0)
### Features
* When webpack-cli is not installed it will ask to install it
* `splitChunks.chunks` supports a custom function now
* Better warning when omitting `mode`
### Bugfixes
* disallow functions for `chunkFilename`, because it's not working
* generate correct code when using `export default (function xxx() {})`
### Performance
* Performance improvements for sorting by identifier
---
### [`v4.3.0`](https://github.com/webpack/webpack/releases/v4.3.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.2.0...v4.3.0)
### Features
* add support for `[contenthash]` placeholder
### Bugfixes
* `browser` field is used for target `electron-renderer`
* set `devtoolNamespace` default correctly when passing an object to `output.library`
---
### [`v4.2.0`](https://github.com/webpack/webpack/releases/v4.2.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.1.1...v4.2.0)
### Features
* add `splitChunks.automaticNameDelimiter` to configure the name separator for automatic names
* `stats.excludeModules` now also accept booleans
* webpack throws an error when trying to run in twice at a time
* `performance` is disabled by default in non-web targets
* AMD parser plugins can now be extended by inheriting
### Bugfixes
* Fix a race condition when writing `events.json` in ProfilingPlugin
* HMR runtime code is reverted to ES5 style
* script timeout is not correctly in seconds
* reexporting JSON exports works correctly now
* fix a bug when combining ProfilingPlugin with SourceMapDevToolPlugin
* add a missing semicolon to the runtime code
---
### [`v4.1.1`](https://github.com/webpack/webpack/releases/v4.1.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.1.0...v4.1.1)
---
### [`v4.1.0`](https://github.com/webpack/webpack/releases/v4.1.0)
[Compare Source](https://github.com/webpack/webpack/compare/v4.0.1...v4.1.0)
---
### [`v4.0.1`](https://github.com/webpack/webpack/releases/v4.0.1)
[Compare Source](https://github.com/webpack/webpack/compare/v4.0.0...v4.0.1)
---
### [`v4.0.0`](https://github.com/webpack/webpack/releases/v4.0.0)
[Compare Source](https://github.com/webpack/webpack/compare/v3.12.0...v4.0.0)
---
This Pull Request updates dependency webpack from
~3.12.0
to~4.12.0
Note: This PR was created on a configured schedule ("every weekend" in timezone
Europe/London
) and will not receive updates outside those times.Release Notes
### [`v4.12.0`](https://github.com/webpack/webpack/releases/v4.12.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.11.1...v4.12.0) ### Features * Errors from loaders show the loader path in the error message * add support for optional catch and line and paragraph separator in strings (ES2019) ### Bugfixes * fixes a bug where chunks have duplicate ids when using records * fix bubbling in HMR for `import()` when importing a non-ESM * fix issue with in installing with pnpm * update dependencies of the ProfilingPlugin --- ### [`v4.11.1`](https://github.com/webpack/webpack/releases/v4.11.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.11.0...v4.11.1) ### Features * add `optimization.mangleWasmImports` option to disable mangling of wasm imports ### Bugfixes * disable wasm import mangling temporary because of bugs in the underlying wasm processing --- ### [`v4.11.0`](https://github.com/webpack/webpack/releases/v4.11.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.10.2...v4.11.0) ### Features * support `reportProgress` in `afterEmit` * Warnings are now emitted if magic comments don't compile * Added support for matchResource inline request for loaders * Using webpackPrefetch in entry chunk now triggers prefetching in runtime * No link tag needed for this in HTML * Warnings will be emitted when trying to use i64-functions imported from wasm ### Bugfixes * get_global initializer in wasm globals now work correctly * Reexporting globals is now handled correctly * Error origins and locations are now displayed correctly --- ### [`v4.10.2`](https://github.com/webpack/webpack/releases/v4.10.2) [Compare Source](https://github.com/webpack/webpack/compare/v4.10.1...v4.10.2) ### Bugfixes * order of wasm globals is correctly preversed while rewriting * skipping side-effect-free modules up to a concatenated modules will not longer cause `null` module ids --- ### [`v4.10.1`](https://github.com/webpack/webpack/releases/v4.10.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.10.0...v4.10.1) ### Bugfixes * update reasons correctly when skipping side-effect-free modules --- ### [`v4.10.0`](https://github.com/webpack/webpack/releases/v4.10.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.9.2...v4.10.0) ### Features * Export and import name strings in them wasm are mangled * Unused exports in wasm are removed (Tree Shaking) * Don't expect size improvements yet since there is not minimizer for WASM yet which does the Dead Code Elimination, which is the second part for this optimization * Direct WASM dependencies are enforced for: * functions imports with i64 parameters or return values * memory and table imports * generate shorter wasm runtime code * ESM namespace object now have `Symbol.toStringTag` `"Module"` ### Bugfixes * generate correct initializer for imported globals in wasm * side-effect-free modules referenced by `export * from` are no longer including in the bundle * the side-effects optimization is now possible in incremental compilation --- ### [`v4.9.2`](https://github.com/webpack/webpack/releases/v4.9.2) [Compare Source](https://github.com/webpack/webpack/compare/v4.9.1...v4.9.2) ### Bugfixes * functions is defined because used (fixes undeclared function error in firefox) * progress plugin works now in MultiCompiler scenarios again --- ### [`v4.9.1`](https://github.com/webpack/webpack/releases/v4.9.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.9.0...v4.9.1) ### Bugfixes * fix parameter references in default parameters ### Internal changes * change test cases to text format --- ### [`v4.9.0`](https://github.com/webpack/webpack/releases/v4.9.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.8.3...v4.9.0) ### Features * `BannerPlugin` supports a function as `banner` option * allow `serve` property in configuration schema * add `entryOnly` option to `DllPlugin` to only expose modules in the entry point * Allow to choose between `webpack-cli` and `webpack-command` * improve error message when JSON parsing fails * allow BOM in JSON * sort `usedIds` in `records` for stablility ### Bugfixes * align module not found error message with node.js * fix behavior of `splitChunks` when request limit has reached (caused suboptimal splitting) * fix handling of RegExp in records (caused absolute path in records) * fix handling of circular chunks (caused missing `__webpack_require__.e`) * `runtimeChunk` is even generated when all modules are moved by `splitChunks` (caused multiple runtime chunks instead of single one) * string ids are no longer recorded (caused duplicate/wrong chunk ids) * fix link to migration guide in error message ### Internal changes * add more typings * Use travis stages * add `many-pages` example --- ### [`v4.8.3`](https://github.com/webpack/webpack/releases/v4.8.3) [Compare Source](https://github.com/webpack/webpack/compare/v4.8.2...v4.8.3) ### Bugfixes * fix missing `debug` dependency * support arrays in `output.library.root` --- ### [`v4.8.2`](https://github.com/webpack/webpack/releases/v4.8.2) [Compare Source](https://github.com/webpack/webpack/compare/v4.8.1...v4.8.2) ### Bugfixes * WASM parser bugfixes * fix edge case when replacing top-level this in IIFE * avoid parser wasm many times --- ### [`v4.8.1`](https://github.com/webpack/webpack/releases/v4.8.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.8.0...v4.8.1) ### Bugfixes * fix some WASM parsing issues --- ### [`v4.8.0`](https://github.com/webpack/webpack/releases/v4.8.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.7.0...v4.8.0) ### Features * new WASM pipeline * use `instantiateStreaming` when available * allow circular dependencies between wasm modules (functions only) ### Bugfixes * fix a bug where runtime code for wasm was incorrectly cached * fix a bug where a splitChunks cacheGroup without name wasn't executed --- ### [`v4.7.0`](https://github.com/webpack/webpack/releases/v4.7.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.6.0...v4.7.0) ### Features * add webpackIgnore magic comment (`import(/* webpackIgnore: true */ "...")`) to keep the import in the bundle * add chunkGroups to Stats * `chunkGroups` option * `namedChunkGroups` property * `Chunk Group` text output ### Bugfixes * prevent chunk merging for the runtimeChunk * fix a caching issue for concatenated modules * namedModules now handle name conflicts correctly * fix a crash when using `[contenthash:n]` without on-demand-chunks ### Internal changes * testing uses Jest now * testing in node.js 10 too * Performance improvements --- ### [`v4.6.0`](https://github.com/webpack/webpack/releases/v4.6.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.5.0...v4.6.0) ### Features * improve stats output alignment * improve stats text output when all exports are used * add `webpackPrefetch`/`webpackPreload` magic comments to `import()` * add `stats.entrypoints[].children` and `stats.entrypoints[].childAssets` to stats json * add prefetched/preloaded chunks and assets to stats text output * Performance improvements ### Bugfixes * Escape chunk ids for `target: "webworker"` * fix `this` to `undefined` ESM replacement in function default values * `new require(...)` is weird, but now behaves like in node.js * fix behavior of `export * from "commonjs"` with partial override * fixed build time output in current locale in stats text output * fixed ChunkModuleIdRangePlugin and add tests * avoid race condition when using the loadModule loader API * fix default value of `output.globalObject` in `target: "node-webkit"` * fix a bug with `loadModules` and dependencies in these modules * fix hot.accept parser plugin to allow defined values as argument * print `unknown size` when size is unknown * fix a bug where some chunks were missing in the "single" runtime chunk * fix cloning of `optimization` configuration ### Internal changes * Set up infrastructure for linting typings with TypeScript --- ### [`v4.5.0`](https://github.com/webpack/webpack/releases/v4.5.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.4.1...v4.5.0) ### Features * Performance improvements * Improve readablility of error messages with long loader string ### Bugfixes * Sort child compilations for consistent compilation hash * Fix bug causing all symbols to be renamed when concatenating modules ### Contributing * add `yarn setup` script for bootstrapping local development --- ### [`v4.4.1`](https://github.com/webpack/webpack/releases/v4.4.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.4.0...v4.4.1) ### Bugfixes * fix yarn/npm install script on windows --- ### [`v4.4.0`](https://github.com/webpack/webpack/releases/v4.4.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.3.0...v4.4.0) ### Features * When webpack-cli is not installed it will ask to install it * `splitChunks.chunks` supports a custom function now * Better warning when omitting `mode` ### Bugfixes * disallow functions for `chunkFilename`, because it's not working * generate correct code when using `export default (function xxx() {})` ### Performance * Performance improvements for sorting by identifier --- ### [`v4.3.0`](https://github.com/webpack/webpack/releases/v4.3.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.2.0...v4.3.0) ### Features * add support for `[contenthash]` placeholder ### Bugfixes * `browser` field is used for target `electron-renderer` * set `devtoolNamespace` default correctly when passing an object to `output.library` --- ### [`v4.2.0`](https://github.com/webpack/webpack/releases/v4.2.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.1.1...v4.2.0) ### Features * add `splitChunks.automaticNameDelimiter` to configure the name separator for automatic names * `stats.excludeModules` now also accept booleans * webpack throws an error when trying to run in twice at a time * `performance` is disabled by default in non-web targets * AMD parser plugins can now be extended by inheriting ### Bugfixes * Fix a race condition when writing `events.json` in ProfilingPlugin * HMR runtime code is reverted to ES5 style * script timeout is not correctly in seconds * reexporting JSON exports works correctly now * fix a bug when combining ProfilingPlugin with SourceMapDevToolPlugin * add a missing semicolon to the runtime code --- ### [`v4.1.1`](https://github.com/webpack/webpack/releases/v4.1.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.1.0...v4.1.1) --- ### [`v4.1.0`](https://github.com/webpack/webpack/releases/v4.1.0) [Compare Source](https://github.com/webpack/webpack/compare/v4.0.1...v4.1.0) --- ### [`v4.0.1`](https://github.com/webpack/webpack/releases/v4.0.1) [Compare Source](https://github.com/webpack/webpack/compare/v4.0.0...v4.0.1) --- ### [`v4.0.0`](https://github.com/webpack/webpack/releases/v4.0.0) [Compare Source](https://github.com/webpack/webpack/compare/v3.12.0...v4.0.0) ---This PR has been generated by Renovate Bot.