webpack/webpack
### [`v4.32.0`](https://togithub.com/webpack/webpack/releases/v4.32.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v4.31.0...v4.32.0)
### Features
- Added `this.mode` to the loader API, to allow loaders to choose defaults by `mode` similar to webpacks options
- Stack Trace for Errors in rejected Promises from `import()` now includes the stack from where the `import()` was called
### Bugfixes
- The Parser can now analyse identifiers in rest patterns too
- `const { a, ...rest } = obj`, where `rest` conflicts with an imported binding etc.
- `node: false` now correctly disables `__dirname` and `__filename` too
- `__dirname` and `__filename` now no longer evaluates to something when `node: false` or `node.__file/dirname: false` is set
- `if(__dirname !== "")` is no longer replaced with `if(true)` in such scenarios
- prefetching chunks is no executed **after** the initial module evaluation
- This allows to override i. e. `__webpack_public_path__` for prefetching too
- fixes a runtime crash when using side-effect-free modules with the DllPlugin
### Contribute
- CI tests node.js 12 now too
- webpack-bot now merges dependabot PRs automatically when status checks succeed
Renovate configuration
:date: Schedule: At any time (no schedule defined).
: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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
4.31.0
->4.32.0
Release Notes
webpack/webpack
### [`v4.32.0`](https://togithub.com/webpack/webpack/releases/v4.32.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v4.31.0...v4.32.0) ### Features - Added `this.mode` to the loader API, to allow loaders to choose defaults by `mode` similar to webpacks options - Stack Trace for Errors in rejected Promises from `import()` now includes the stack from where the `import()` was called ### Bugfixes - The Parser can now analyse identifiers in rest patterns too - `const { a, ...rest } = obj`, where `rest` conflicts with an imported binding etc. - `node: false` now correctly disables `__dirname` and `__filename` too - `__dirname` and `__filename` now no longer evaluates to something when `node: false` or `node.__file/dirname: false` is set - `if(__dirname !== "")` is no longer replaced with `if(true)` in such scenarios - prefetching chunks is no executed **after** the initial module evaluation - This allows to override i. e. `__webpack_public_path__` for prefetching too - fixes a runtime crash when using side-effect-free modules with the DllPlugin ### Contribute - CI tests node.js 12 now too - webpack-bot now merges dependabot PRs automatically when status checks succeedRenovate configuration
:date: Schedule: At any time (no schedule defined).
: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.