Release notes
*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).*
> ## v4.40.2
> # Bugfixes
>
> * fix a bug where asset is undefined
>
> ## v4.40.1
> # Bugfixes
>
> * convert "multiple assets emit to the same filename" error into a warning
> * compare asset content when multiple assets emit to the same filename
>
> ## v4.40.0
> # Features
>
> * adds asset info for emitted assets
> * new methods allow easy emitting/updating of assets `compilation.emitAsset/updateAsset` (instead of accessing the Object `compilation.assets`)
> * new getter methods to get assets `compilation.getAssets()` and `compilation.getAsset(name)`
> * 3 flags in asset info:
> * `immutable`: when set an asset can be cache infinitely
> * `development`: when set an asset is some kind of development tool (i. e. a SourceMap)
> * `hotModuleReplacement`: when set an asset is generated for an hot update
> * Stats expose `info` object in assets
> * String version of Stats show flags
>
> ## v4.39.3
> # Bugfixes
>
> * fix a missing module in chunk caused by incorrect chunk graph generation of async chunks
Commits
- [`d1fffd8`](https://github.com/webpack/webpack/commit/d1fffd8bbeb024d1452a7f7a33a4c0c87604d8ec) 4.40.2
- [`705a3f5`](https://github.com/webpack/webpack/commit/705a3f566bdad1ac1266a07bddb4e304393971ca) Merge pull request [#9701](https://github-redirect.dependabot.com/webpack/webpack/issues/9701) from Akryum/patch-1
- [`b4c7fd5`](https://github.com/webpack/webpack/commit/b4c7fd5ff9868d6dd4715350b48522b260ede68d) fix: check for asset nullity before fileFilter
- [`e4c7d8c`](https://github.com/webpack/webpack/commit/e4c7d8c0ae0c93306f07920bc28fe72119bc098a) 4.40.1
- [`b69ad20`](https://github.com/webpack/webpack/commit/b69ad20d8b3dca4ae9a034ee440601444c3fe220) Merge pull request [#9697](https://github-redirect.dependabot.com/webpack/webpack/issues/9697) from webpack/bugfix/multiple-assets
- [`e41fab0`](https://github.com/webpack/webpack/commit/e41fab0bc37f1fb2d6f17d8854d662b448c91991) make multiple assets to the same filename a warning
- [`c5450b4`](https://github.com/webpack/webpack/commit/c5450b460e43a7e0ddee93a9a4924e48cba1cee7) Merge pull request [#9696](https://github-redirect.dependabot.com/webpack/webpack/issues/9696) from sodatea/fix-size-limits
- [`025c253`](https://github.com/webpack/webpack/commit/025c253732a269d617c8a4f7113389fbea81b9c2) fix: check the asset's existence before running filter
- [`9c6b367`](https://github.com/webpack/webpack/commit/9c6b36787fe43581d6c568e64b71656274c04881) 4.40.0
- [`e9e7a85`](https://github.com/webpack/webpack/commit/e9e7a85d9ab4171e8b0ff8b8f123e7106d413a9a) Merge pull request [#9687](https://github-redirect.dependabot.com/webpack/webpack/issues/9687) from webpack/feature/emit-asset
- Additional commits viewable in [compare view](https://github.com/webpack/webpack/compare/v4.39.2...v4.40.2)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps webpack from 4.39.2 to 4.40.2.
Release notes
*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).* > ## v4.40.2 > # Bugfixes > > * fix a bug where asset is undefined > > ## v4.40.1 > # Bugfixes > > * convert "multiple assets emit to the same filename" error into a warning > * compare asset content when multiple assets emit to the same filename > > ## v4.40.0 > # Features > > * adds asset info for emitted assets > * new methods allow easy emitting/updating of assets `compilation.emitAsset/updateAsset` (instead of accessing the Object `compilation.assets`) > * new getter methods to get assets `compilation.getAssets()` and `compilation.getAsset(name)` > * 3 flags in asset info: > * `immutable`: when set an asset can be cache infinitely > * `development`: when set an asset is some kind of development tool (i. e. a SourceMap) > * `hotModuleReplacement`: when set an asset is generated for an hot update > * Stats expose `info` object in assets > * String version of Stats show flags > > ## v4.39.3 > # Bugfixes > > * fix a missing module in chunk caused by incorrect chunk graph generation of async chunksCommits
- [`d1fffd8`](https://github.com/webpack/webpack/commit/d1fffd8bbeb024d1452a7f7a33a4c0c87604d8ec) 4.40.2 - [`705a3f5`](https://github.com/webpack/webpack/commit/705a3f566bdad1ac1266a07bddb4e304393971ca) Merge pull request [#9701](https://github-redirect.dependabot.com/webpack/webpack/issues/9701) from Akryum/patch-1 - [`b4c7fd5`](https://github.com/webpack/webpack/commit/b4c7fd5ff9868d6dd4715350b48522b260ede68d) fix: check for asset nullity before fileFilter - [`e4c7d8c`](https://github.com/webpack/webpack/commit/e4c7d8c0ae0c93306f07920bc28fe72119bc098a) 4.40.1 - [`b69ad20`](https://github.com/webpack/webpack/commit/b69ad20d8b3dca4ae9a034ee440601444c3fe220) Merge pull request [#9697](https://github-redirect.dependabot.com/webpack/webpack/issues/9697) from webpack/bugfix/multiple-assets - [`e41fab0`](https://github.com/webpack/webpack/commit/e41fab0bc37f1fb2d6f17d8854d662b448c91991) make multiple assets to the same filename a warning - [`c5450b4`](https://github.com/webpack/webpack/commit/c5450b460e43a7e0ddee93a9a4924e48cba1cee7) Merge pull request [#9696](https://github-redirect.dependabot.com/webpack/webpack/issues/9696) from sodatea/fix-size-limits - [`025c253`](https://github.com/webpack/webpack/commit/025c253732a269d617c8a4f7113389fbea81b9c2) fix: check the asset's existence before running filter - [`9c6b367`](https://github.com/webpack/webpack/commit/9c6b36787fe43581d6c568e64b71656274c04881) 4.40.0 - [`e9e7a85`](https://github.com/webpack/webpack/commit/e9e7a85d9ab4171e8b0ff8b8f123e7106d413a9a) Merge pull request [#9687](https://github-redirect.dependabot.com/webpack/webpack/issues/9687) from webpack/feature/emit-asset - Additional commits viewable in [compare view](https://github.com/webpack/webpack/compare/v4.39.2...v4.40.2)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.