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

[Bug report] Duplicate webpack chunkname with different pages #1531

Closed
Mister-Hope opened this issue Apr 7, 2024 · 1 comment
Closed

[Bug report] Duplicate webpack chunkname with different pages #1531

Mister-Hope opened this issue Apr 7, 2024 · 1 comment
Assignees

Comments

@Mister-Hope
Copy link
Member

Mister-Hope commented Apr 7, 2024

Description

The resolvePageChunkInfo use sanitizeFileName on basename, but in this case, the following pages chunk name will be the same:

  • /a/name.html
  • /b/name.html

@meteorlxy Could you please explain what you are doing at 4f89d39

@Mister-Hope Mister-Hope changed the title [Bug report] Duplicate webpack chunkanme with different pages [Bug report] Duplicate webpack chunkname with different pages Apr 7, 2024
@meteorlxy
Copy link
Member

meteorlxy commented Apr 8, 2024

Ah, that commit was to make the webpack chunk name more consistent with vite. Should add hash after the result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants