From 42a0efe70b42a83ccda9eb9cc0b7d15ef19bfbfd Mon Sep 17 00:00:00 2001 From: Evan Date: Fri, 9 Jan 2026 20:35:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 关闭预览自动弹出页面 - 关闭热更新 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .gitignore | 3 +-- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 760109c..27441c9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ yarn-error.log* pnpm-debug.log* lerna-debug.log* -node_modules dist dist-ssr *.local @@ -24,4 +23,4 @@ dist-ssr dist.zip copilot-toolbox.zip copilot-toolbox/ -.trae \ No newline at end of file +.trae diff --git a/vite.config.ts b/vite.config.ts index 3ed5537..868c2a1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,7 +20,7 @@ export default defineConfig(() => { host: '0.0.0.0', allowedHosts: true as true, cors: true, - open: true, + hmr: false, port: 5173 }, // 生产预览服务器配置 (vite preview) - 仅用于本地测试