-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
vite打包问题(只有当文件内容发生变化此 hash 才会重新生成,怎么实现) #12011
Labels
duplicate
This issue or pull request already exists
Comments
dist构建产物一般不加入git版本管理啊,不然你这仓库大小要上天了。 |
我只是为了对比,修改后两次打包文件的变化,并不是加入git管理~ |
Duplicate of #6773 |
sapphi-red
added
duplicate
This issue or pull request already exists
and removed
pending triage
labels
Feb 10, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
vite打包vue3项目,项目只修改一个文件,打包出来的dist文件,基本全都有改变,能实现只改哪个文件,打包出来的文件,只改这个文字的hash,其他的不变吗,类似于webpack的contenthash的功能。
Reproduction
https://github.com/vitejs/vite/issues
Steps to reproduce
使用的vite版本是4.1.0
查看Rollup.js已对打包实现该功能
请问一下,是我配置的出现问题吗
System Info
.
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: