diff --git a/web-src/vite.config.ts b/web-src/vite.config.ts index 47fe8d9..f7d4133 100644 --- a/web-src/vite.config.ts +++ b/web-src/vite.config.ts @@ -47,7 +47,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { sourcemap: false, // 消除打包大小超过500kb警告 chunkSizeWarningLimit: 4000, - outDit: "../web", + outDir: "../web", rollupOptions: { input: { index: pathResolve("./index.html", import.meta.url)