webpack-plugin-hash-output:使用md5哈希替换webpack的chunkhash插件

该插件通过最终文件内容的md5哈希来替代webpack中的chunkhash。安装命令为npm install webpack-plugin-hash-output --save-dev或yarn add webpack-plugin-hash-output --dev。为什么需要这个?因为其他的webpack插件虽然也能散列,但在运行时无法看到代码的最终形式,因为在它们之前还有如webpack.optimize.UglifyJsPlugin这样的优化步骤。这意味着如果您更改了UglifyJsPlugin的配置,这些其他插件可能不会立即反映这一变化。
zip
webpack-plugin-hash-output-master.zip 预估大小:68个文件
folder
webpack-plugin-hash-output-master 文件夹
file
AUTHORS 304B
file
yarn.lock 141KB
file
LICENSE.txt 752B
file
.eslintrc.js 561B
folder
src 文件夹
file
OutputHash.js 8KB
folder
.vscode 文件夹
file
launch.json 719B
file
.npmignore 75B
file
.travis.yml 45B
folder
test 文件夹
folder
one-asset-sha256 文件夹
file
webpack.config.js 400B
file
entry.js 56B
folder
one-asset-salt 文件夹
file
webpack.config.js 398B
file
entry.js 56B
folder
loop 文件夹
file
webpack.config.js 361B
file
2.js 108B
file
1.js 108B
file
entry.js 16B
folder
async-chunk 文件夹
file
webpack.config.js 311B
file
on-demand.js 68B
file
entry.js 120B
folder
common-chunk 文件夹
file
vendor.js 82B
file
webpack.config.js 701B
file
entry.js 78B
file
common.js 48B
file
.eslintrc.js 499B
file
base.webpack.config.js 434B
folder
multi-asset 文件夹
file
vendor.js 60B
file
webpack.config.js 369B
file
entry.js 56B
folder
shared-runtime-chunk 文件夹
file
shared-2.js 29B
file
webpack.config.js 587B
file
entry-1.js 199B
file
async.js 98B
file
entry-2.js 151B
file
shared-1.js 29B
folder
html 文件夹
file
vendor.js 60B
file
webpack.config.js 563B
file
entry.js 56B
file
test.js 7KB
folder
mini-css-chunks 文件夹
file
styles.css 38B
file
webpack.config.js 1KB
file
async.js 113B
file
entry.js 116B
folder
sourcemap 文件夹
file
webpack.config.js 476B
file
entry.js 56B
folder
one-asset 文件夹
file
webpack.config.js 311B
file
entry.js 56B
folder
runtime-chunk 文件夹
file
webpack.config.js 498B
file
on-demand.js 68B
file
entry-1.js 122B
file
entry-2.js 122B
folder
common-runtime-chunk 文件夹
file
vendor.js 82B
file
webpack.config.js 826B
folder
on-demand.js 文件夹
file
entry.js 78B
file
common.js 112B
folder
html-wrong-order 文件夹
file
vendor.js 60B
file
webpack.config.js 563B
file
entry.js 56B
folder
one-asset-base64 文件夹
file
webpack.config.js 400B
file
entry.js 56B
file
README.md 5KB
file
CODE_OF_CONDUCT.md 2KB
file
.gitignore 1KB
file
.prettierrc.js 196B
file
CHANGELOG.md 2KB
file
.eslintignore 15B
file
package.json 1KB
file
.nvmrc 7B
...
zip 文件大小:81.12KB