Skip to content

Conversation

@alexander-akait
Copy link
Member

Summary

Always use full classname (or export) to generate fullhash of [local] placholder.

Why?

  • less hash regeneration, now adding new export in CSS can regenerate mangled names and so all hashes after this export will regenerate too, it can create unnecessary regenerations in other files and bad for internal caching too
  • less collision

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

Existing

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Nothing

@changeset-bot
Copy link

changeset-bot bot commented Dec 2, 2025

🦋 Changeset detected

Latest commit: 1116757

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
webpack Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2025

This PR is packaged and the instant preview is available (50689e1).

Install it locally:

  • npm
npm i -D webpack@https://pkg.pr.new/webpack@50689e1
  • yarn
yarn add -D webpack@https://pkg.pr.new/webpack@50689e1
  • pnpm
pnpm add -D webpack@https://pkg.pr.new/webpack@50689e1

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 2, 2025

CodSpeed Performance Report

Merging #20199 will not alter performance

Comparing fix-always-use-full-local-name-for-local-ident-name (1116757) with main (04cd530)

Summary

✅ 69 untouched

@alexander-akait alexander-akait merged commit 50689e1 into main Dec 2, 2025
52 checks passed
@alexander-akait alexander-akait deleted the fix-always-use-full-local-name-for-local-ident-name branch December 2, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants