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: output.clean can not remove *.hot-update.js #3689

Merged
merged 1 commit into from
Jul 3, 2023
Merged

Conversation

jerrykingxyz
Copy link
Collaborator

@jerrykingxyz jerrykingxyz commented Jul 3, 2023

Summary

  • change compilation.emitted_asset_versions to HashMap
  • compilation.emitted_asset_versions will save all of emitted assets contains version is empty.
  • emit_assets will regenerate compilation.emitted_asset_versions

Test Plan

Added a e2e test case to ensure results are as expected.

@jerrykingxyz jerrykingxyz requested a review from a team July 3, 2023 10:23
@jerrykingxyz jerrykingxyz requested a review from Boshen as a code owner July 3, 2023 10:23
@github-actions github-actions bot added release: bug fix team The issue/pr is created by the member of Rspack. labels Jul 3, 2023
@jerrykingxyz jerrykingxyz added this pull request to the merge queue Jul 3, 2023
Merged via the queue into main with commit a5f739f Jul 3, 2023
17 of 19 checks passed
@jerrykingxyz jerrykingxyz deleted the jerry/clean branch July 3, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants