We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
文件指纹是打包后输出的文件名的后缀。
Hash
Chunkhash
Contenthash
output
filename
chunkhash
MiniCssExtractPlugin
contenthash
file-loader
options
hash
The text was updated successfully, but these errors were encountered:
No branches or pull requests
文件指纹是什么? 怎么用?
文件指纹是打包后输出的文件名的后缀。
Hash
:和整个项目的构建相关,只要项目文件有修改,整个项目构建的 hash 值就会更改Chunkhash
:和 Webpack 打包的 chunk 有关,不同的 entry 会生出不同的 chunkhashContenthash
:根据文件内容来定义 hash,文件内容不变,则 contenthash 不变output
的filename
中设置,使用chunkhash
MiniCssExtractPlugin
插件中的filename
设置,使用contenthash
file-loader
中的options
中设置 使用hash
The text was updated successfully, but these errors were encountered: