@qingtian/qtcli 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +1 -1
- package/dist/src/commands/init.js +20 -21
- package/dist/src/config/templates.js +23 -0
- package/dist/src/proxys/init/index.js +116 -18
- package/dist/src/utils/cookie.js +1 -1
- package/dist/src/utils/set.js +1 -1
- package/dist/src/webpack/web/webpack.prod.js +2 -1
- package/package.json +1 -1
|
@@ -22,7 +22,8 @@ exports.default = merge(baseConfig, {
|
|
|
22
22
|
from: path.resolve(process.cwd(), './public'),
|
|
23
23
|
to: baseConfig.output.path,
|
|
24
24
|
filter: function (source) {
|
|
25
|
-
|
|
25
|
+
// 过滤掉所有 .html 文件,避免与 HtmlWebpackPlugin 生成的文件冲突
|
|
26
|
+
return !source.endsWith('.html');
|
|
26
27
|
},
|
|
27
28
|
},
|
|
28
29
|
],
|