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) - 仅用于本地测试