Commit 281bddcd by YunaiV

增加 optimize 文件列表,避免 reload

parent 5df7a8c9
...@@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { ...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment