-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Open
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
When I only update renderBuiltUrl function in vite.config
The chunk hash will not change, but chunk code is diffrent than before.
I believe it's not expected.
Reproduction
https://stackblitz.com/edit/vitejs-vite-mtwhq8?file=vite.config.ts
Steps to reproduce
- npm install
- npm build
the hash of index.js chunk is597e1bff - update experimental.renderBuiltUrl function, For example, update
render-test1torender-test2 - npm build
the hash of index.js chunk is still597e1bff. But this chunk code is different than before.
System Info
anyUsed Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
juvirez and wilcoxmd
Metadata
Metadata
Assignees
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)