Skip to content

Commit 5b6fe1e

Browse files
committed
引入webpack-plugin-hash-output
1 parent 61b7823 commit 5b6fe1e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/public-resource/less/base.less

+1-5
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,4 @@
4040
@import "@{components-dir}/_modal.less";
4141

4242
/* 标签页 */
43-
@import "@{components-dir}/_tab.less";
44-
45-
body {
46-
display: block;
47-
}
43+
@import "@{components-dir}/_tab.less";

webpack-config/inherit/plugins.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var configPlugins = [
3838
// name: 'dll', // 当前Dll的所有内容都会存放在这个参数指定变量名的一个全局变量下,注意与DllPlugin的name参数保持一致
3939
// }),
4040
new HashOutput({
41-
manifestFiles: 'webpack-runtime',
41+
manifestFiles: 'webpack-runtime', // 指定包含 manifest 在内的 chunk
4242
}),
4343
];
4444

0 commit comments

Comments
 (0)