feat(打包): 固定打包配置
This commit is contained in:
parent
5f326542b9
commit
2e108e648a
|
@ -121,15 +121,14 @@
|
||||||
},
|
},
|
||||||
"h5" : {
|
"h5" : {
|
||||||
"devServer" : {
|
"devServer" : {
|
||||||
"https" : false,
|
"https" : true,
|
||||||
"port" : 8055
|
"port" : 8055
|
||||||
},
|
},
|
||||||
"disableHostCheck" : true, // 禁用 Host 检查 打包时改成false
|
"disableHostCheck" : false, // 禁用 Host 检查 打包时改成false
|
||||||
"router" : {
|
"router" : {
|
||||||
"mode" : "hash"
|
"mode" : "hash",
|
||||||
|
"base" : "/app/"
|
||||||
},
|
},
|
||||||
"base" : "",
|
|
||||||
// "base" : "/app/",
|
|
||||||
"optimization" : {
|
"optimization" : {
|
||||||
"treeShaking" : {
|
"treeShaking" : {
|
||||||
"enable" : true
|
"enable" : true
|
||||||
|
@ -137,7 +136,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// "port" : 8055
|
|
||||||
// "disableHostCheck" : true, // 禁用 Host 检查 打包时改成false
|
|
||||||
// "base" : "/app/"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue