kn-cli 1.0.71 → 1.0.73
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/start.sh +1 -1
- package/build/webpack.config.js +2 -1
- package/package.json +1 -1
- package/readme.md +7 -0
- package/templates/template_admin/.gitignore +6 -0
- package/templates/template_app/.gitignore +6 -0
- package/templates/template_oa/.gitignore +6 -0
- package/templates/template_oa_jwt/.gitignore +6 -0
- package/templates/template_offcial/.gitignore +6 -0
package/build/start.sh
CHANGED
package/build/webpack.config.js
CHANGED
|
@@ -487,7 +487,8 @@ module.exports = {
|
|
|
487
487
|
port: devServer?.port??8080,
|
|
488
488
|
useLocalIp:devServer?.useLocalIp??false,
|
|
489
489
|
https:https,//true,//注意开了https就不能使用本地ip访问,只能使用0.0.0.0
|
|
490
|
-
proxy: API_CONFIG.API_PROXY
|
|
490
|
+
proxy: API_CONFIG.API_PROXY,
|
|
491
|
+
historyApiFallback:devServer?.historyApiFallback??false,
|
|
491
492
|
// hot: true,
|
|
492
493
|
},
|
|
493
494
|
// 如果哪天不需要兼容ie11了,把这里@babel/polyfill去掉就行了
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -78,6 +78,7 @@ module.exports = {
|
|
|
78
78
|
// host:'0.0.0.0',//指定调试地址IP
|
|
79
79
|
// port:8080,
|
|
80
80
|
// useLocalIp:false,//是否使用本地IP地址代替localhost
|
|
81
|
+
// historyApiFallback:true,//打开本地支持history模式,注意配合site_root_path:'/' 类使用
|
|
81
82
|
// }
|
|
82
83
|
// sourcemap:{
|
|
83
84
|
// local:true //将生产环境的sourcemap部署到生产本地
|
|
@@ -95,6 +96,12 @@ module.exports = {
|
|
|
95
96
|
|
|
96
97
|
|
|
97
98
|
# 更新日志
|
|
99
|
+
* 1.0.73
|
|
100
|
+
修改 start.sh内 `if[ "dev_mode"x == "watch"x ]` --> `if [ "${dev_mode}" = "watch" ]` 以兼容系统
|
|
101
|
+
|
|
102
|
+
* 1.0.72
|
|
103
|
+
增加devServer:{historyApiFallback:true}设置,支持本地调试的history模式
|
|
104
|
+
|
|
98
105
|
|
|
99
106
|
* 1.0.71
|
|
100
107
|
增加运行日志中,每个任务的消耗时间
|