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

JS hash fails to change when asset URL changes #10758

Closed
7 tasks done
zhbhun opened this issue Nov 2, 2022 · 1 comment
Closed
7 tasks done

JS hash fails to change when asset URL changes #10758

zhbhun opened this issue Nov 2, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@zhbhun
Copy link

zhbhun commented Nov 2, 2022

Describe the bug

JS hash fails to change when asset URL changes.

Reproduction

https://github.com/zhbhun/vite-filename-hash

Steps to reproduce

$ cd a
$ pnpm install
$ pnpm run build
$ cd ../b
$ pnpm install
$ pnpm run build

As following link file, they have same file name. But their content is different.

System Info

System:
    OS: macOS 12.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 208.41 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.0/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Browsers:
    Chrome: 107.0.5304.87
    Firefox: 105.0
    Safari: 16.0
  npmPackages:
    vite: ^3.2.0 => 3.2.2

Used Package Manager

pnpm

Logs

No response

Validations

@sapphi-red
Copy link
Member

Duplicate of #9583.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2022
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Nov 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants