kn-cli 1.0.40 → 1.0.41
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/build/cli.config.js +1 -0
- package/build/webpack.config.js +2 -1
- package/package.json +1 -1
- package/readme.md +4 -0
package/build/cli.config.js
CHANGED
package/build/webpack.config.js
CHANGED
|
@@ -39,6 +39,7 @@ const support_sass=CLI_CONFIG?.sass??false;
|
|
|
39
39
|
const css_modules= CLI_CONFIG?.cssModule??'local';
|
|
40
40
|
const jsSplitMode = CLI_CONFIG?.jsSplitMode??true;
|
|
41
41
|
const indexHtml = CLI_CONFIG?.indexHtml ?? true;
|
|
42
|
+
const https= CLI_CONFIG?.https ?? false;
|
|
42
43
|
|
|
43
44
|
let distFolder = 'dist';
|
|
44
45
|
let distJsFolder='';
|
|
@@ -482,7 +483,7 @@ module.exports = {
|
|
|
482
483
|
},
|
|
483
484
|
// port: 8080,
|
|
484
485
|
// useLocalIp:true,
|
|
485
|
-
|
|
486
|
+
https:https,//true,//注意开了https就不能使用本地ip访问,只能使用0.0.0.0
|
|
486
487
|
proxy: API_CONFIG.API_PROXY
|
|
487
488
|
// hot: true,
|
|
488
489
|
},
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -61,10 +61,14 @@ module.exports = {
|
|
|
61
61
|
// js:'',//js输出的目录
|
|
62
62
|
// }
|
|
63
63
|
// pxtorem:false,//默认:true,开启px转rem模式
|
|
64
|
+
// https:true,//是否使用https本地调试
|
|
64
65
|
};
|
|
65
66
|
```
|
|
66
67
|
|
|
67
68
|
# 更新日志
|
|
69
|
+
* 1.0.41
|
|
70
|
+
cli.config.js内增加https的调试模式
|
|
71
|
+
|
|
68
72
|
* 1.0.40
|
|
69
73
|
MiniCssExtractPlugin增加忽略引用顺序的警告
|
|
70
74
|
移动端模板将ant-mobile版本变更为5.28.0
|