-
一个Webpack插件,旨在重新尝试加载未能成功加载的块,即webpack-retry-chunk-load-plugin
资源介绍
webpack重试块加载插件
一个Webpack插件,可重试加载失败的异步块
用法
// webpack.config.js
const { RetryChunkLoadPlugin } = require ( 'webpack-retry-chunk-load-plugin' ) ;
plugins: [
new RetryChunkLoadPlugin ( {
// optional stringified function to get the cache busting query string appended to the script src
// if not set will default to appending the string `?cache-bust=true`
cacheBust : `function() {
r