webpack分析重复插件
在您的Webpack构建中检测重复的模块。
生成一个duplication-report.json ,其中包含有关重复模块的完整报告。
示例片段:
[
{
// The duplicated module path
"module" : "/node_modules/vue/dist/vue.esm.js" ,
// Size of module
"size" : "326.4 kB" ,
// Size savings if de-duped
"potential-size-savings" : "979.2 kB" ,
// Chunks the module is duplicated in
"included-in" : [
[ "index.js" ] ,
[ "some-file.js" ] ,
评论0
最新资源