We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21be9f7 commit 7d7843eCopy full SHA for 7d7843e
part1/example1/webpackconfigs/config5.js
@@ -38,4 +38,8 @@ hash 为生成的html引用的js添加hash值<script src="UIStuff.js?6f347301ad
38
默认所有的chunks都会在html上引入,chunks: ['index'] 是筛选html引用的chunk
39
excludeChunks: ['index'] 排除不引用的chunk,
40
inject 控制chunk插入的地方 ,默认是body里面
41
+
42
+CommonsChunkPlugin 会把被两个以上的chunk调用的部分抽取出来放到一个文件中,在用到的
43
+chunk中调用其模块,模块都是挂在。 如果不用这个插件,则就是以每一个文件为一个单元进行模块的调用,
44
45
*/
0 commit comments