webpack-sort-chunks:按依赖性对webpack块进行排序

webpack-sort-chunk按依赖性对webpack块进行排序此处的源代码来自安装$ npm install --save webpack-sort-chunks用法import sortChunks from 'webpack-sort-chunks' const sortedChunks = sortChunks ( stats . chunks ) // If you hold on to the Webpack compilation, pass it as the second argument // It will be faster in Webpack >= v4 const sortedChunks = sortChunks ( stats . chunks , compilation )原料药目录汇编类型:{chunkGroups:{}}
zip 文件大小:67.95KB