Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use NamedModuleIdsPlugin for production #1975

Closed
wants to merge 1 commit into from
Closed

Conversation

robertkowalski
Copy link
Contributor

this fixes an issue with webpack 5, where computed hash values
do not work any more with importComponents.

this fix is meant as a temporary fix, which can get removed after
we found the root cause in webpack 5.

This pull request closes issue # (put the issue number here)

Current state

Changes introduced here

Checklist

  • All commit messages adhere to the appropriate format in order to trigger a correct release
  • All code is written in untranspiled ECMAScript (ES 2017) and is formatted using prettier
  • Necessary unit tests are added in order to ensure correct behavior
  • Documentation has been added
Bors merge bot cheat sheet

We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax Description
bors merge Run the test suite and push to master if it passes. Short for "reviewed: looks good."
bors merge- Cancel an r+, r=, merge, or merge=
bors try Run the test suite without pushing to master.
bors try- Cancel a try
bors delegate+ Allow the pull request author to merge their changes.
bors delegate=[list] Allow the listed users to r+ this pull request's changes.
bors retry Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

@robertkowalski robertkowalski added the 📦 master Apply this label to a pull request, if it has to be cherry-picked to the maste-branch. label Sep 29, 2021
this fixes an issue with webpack 5, where computed hash values
do not work any more with `importComponents`.

this fix is meant as a temporary fix, which can get removed after
we found the root cause in webpack 5.
@robertkowalski
Copy link
Contributor Author

side effect: the build gets larger, as the referenced filenames are longer

@robertkowalski
Copy link
Contributor Author

bors merge

bors bot added a commit that referenced this pull request Sep 29, 2021
1975: fix: use NamedModuleIdsPlugin for production r=robertkowalski a=robertkowalski

this fixes an issue with webpack 5, where computed hash values
do not work any more with `importComponents`.

this fix is meant as a temporary fix, which can get removed after
we found the root cause in webpack 5.

This pull request closes issue # (_put the issue number here_)

<!-- This is a template. Feel free to remove the parts you do not need! Start with this line, for example -->

## Current state

<!-- explanation of the current state -->

## Changes introduced here

<!-- explanation of the changes you did in this pull request -->

## Checklist

- [ ] All commit messages adhere to the [appropriate format](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit) in order to trigger a correct release
- [ ] All code is written in untranspiled ECMAScript (ES 2017) and is formatted using [prettier](https://prettier.io)
- [ ] Necessary unit tests are added in order to ensure correct behavior
- [ ] Documentation has been added

<details>
<summary>Bors merge bot cheat sheet</summary>

We are using [bors-ng](https://github.com/bors-ng/bors-ng) to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of `bors delegate+` or `bors delegate=[list]`).

| Syntax | Description |
| --- | --- |
| bors merge | Run the test suite and push to master if it passes. Short for "reviewed: looks good." |
| bors merge- | Cancel an r+, r=, merge, or merge= |
| bors try | Run the test suite without pushing to master. |
| bors try- | Cancel a try |
| bors delegate+ | Allow the pull request author to merge their changes. |
| bors delegate=[list] | Allow the listed users to r+ this pull request's changes. |
| bors retry | Run the previous command a second time. |

This is a short collection of opinionated commands. For a full list of the commands read the [bors reference](https://bors.tech/documentation/).

</details>


Co-authored-by: Robert Kowalski <robert.kowalski@new-work.se>
@robertkowalski
Copy link
Contributor Author

superceded by #1976

@bors
Copy link
Contributor

bors bot commented Sep 29, 2021

Timed out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 master Apply this label to a pull request, if it has to be cherry-picked to the maste-branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants