增加 optimize 文件列表,避免 reload
This commit is contained in:
parent
5df7a8c951
commit
281bddcd40
@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
|||||||
root: root,
|
root: root,
|
||||||
// 服务端渲染
|
// 服务端渲染
|
||||||
server: {
|
server: {
|
||||||
|
// 是否开启 https
|
||||||
|
https: false,
|
||||||
// 端口号
|
// 端口号
|
||||||
port: env.VITE_PORT,
|
port: env.VITE_PORT,
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user