feat(打包): 固定打包配置

This commit is contained in:
fhysy 2025-03-25 17:26:18 +08:00
parent 5f326542b9
commit 2e108e648a
1 changed files with 4 additions and 8 deletions

View File

@ -121,15 +121,14 @@
},
"h5" : {
"devServer" : {
"https" : false,
"https" : true,
"port" : 8055
},
"disableHostCheck" : true, // Host false
"disableHostCheck" : false, // Host false
"router" : {
"mode" : "hash"
"mode" : "hash",
"base" : "/app/"
},
"base" : "",
// "base" : "/app/",
"optimization" : {
"treeShaking" : {
"enable" : true
@ -137,7 +136,4 @@
}
}
}
// "port" : 8055
// "disableHostCheck" : true, // Host false
// "base" : "/app/"