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

How to refresh main entry file hash name when only modify scope css ? #9626

Closed
7 tasks done
felemon opened this issue Aug 11, 2022 · 1 comment
Closed
7 tasks done
Labels
duplicate This issue or pull request already exists

Comments

@felemon
Copy link

felemon commented Aug 11, 2022

Describe the bug

企业微信截图_763ad2f4-d6ce-4341-a26f-79aca0a9dac5

Step 1: modify Home.scope.css ,
Step 2: npm run build

Question:
dist/index.[hash].js hash not change,but file content is different

How to refresh main entry file hash name when only modify scope css ?

Reproduction

https://stackblitz.com/edit/vitejs-vite-velnu6

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.10 - /bin/yarn
    npm: 7.17.0 - /bin/npm
  npmPackages:
    @vitejs/plugin-react: ^2.0.0 => 2.0.0 
    vite: ^3.0.4 => 3.0.4

Used Package Manager

npm

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 Aug 29, 2022
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Aug 29, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 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