Browse Source

清理 vite.config.js 中无效的 build.outDir 配置

uni-app 忽略 Vite 的 outDir,输出路径由 package.json scripts 中的
--outDir CLI 参数控制。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
skyline 1 day ago
parent
commit
dbc432e614
1 changed files with 0 additions and 3 deletions
  1. 0 3
      admin-h5/vite.config.js

+ 0 - 3
admin-h5/vite.config.js

@@ -7,9 +7,6 @@ export default defineConfig(({ command, mode }) => {
   return {
     base: isBuild ? '/admin/h5/' : './',
     plugins: [uni()],
-    build: {
-      outDir: '../car-wash-admin/src/main/resources/static/h5'
-    },
     css: {
       preprocessorOptions: {
         scss: {