Release notes
*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).*
> ## 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
Commits
- [`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
- [`758269e`](https://github.com/webpack/webpack/commit/758269e81456c946a96b521ee936dbec99d07132) add emit/updateAsset to Compilation
- [`7f403e2`](https://github.com/webpack/webpack/commit/7f403e2486cca0fc7c06486d9e83f7b33ad5a41d) Merge pull request [#9686](https://github-redirect.dependabot.com/webpack/webpack/issues/9686) from webpack/dependabot/npm_and_yarn/types/node-10.1...
- [`93943ea`](https://github.com/webpack/webpack/commit/93943ea3139a34c34fd0c98cbfb0f8cacfa24c82) chore(deps-dev): bump @types/node from 10.14.17 to 10.14.18
- Additional commits viewable in [compare view](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1)
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.3 to 4.40.1.
Release notes
*Sourced from [webpack's releases](https://github.com/webpack/webpack/releases).* > ## 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 flagsCommits
- [`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 - [`758269e`](https://github.com/webpack/webpack/commit/758269e81456c946a96b521ee936dbec99d07132) add emit/updateAsset to Compilation - [`7f403e2`](https://github.com/webpack/webpack/commit/7f403e2486cca0fc7c06486d9e83f7b33ad5a41d) Merge pull request [#9686](https://github-redirect.dependabot.com/webpack/webpack/issues/9686) from webpack/dependabot/npm_and_yarn/types/node-10.1... - [`93943ea`](https://github.com/webpack/webpack/commit/93943ea3139a34c34fd0c98cbfb0f8cacfa24c82) chore(deps-dev): bump @types/node from 10.14.17 to 10.14.18 - Additional commits viewable in [compare view](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1)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.