增加 optimize 文件列表,避免 reload

pull/19/head
YunaiV 2023-03-07 19:57:46 +08:00
parent 5df7a8c951
commit 281bddcd40
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
root: root,
// 服务端渲染
server: {
// 是否开启 https
https: false,
// 端口号
port: env.VITE_PORT,
host: "0.0.0.0",