diff --git a/apps/admin/vite.config.ts b/apps/admin/vite.config.ts index b369dae8..072f574f 100644 --- a/apps/admin/vite.config.ts +++ b/apps/admin/vite.config.ts @@ -2,5 +2,5 @@ import { createViteConfig } from '@config/vite' import { defineConfig, UserConfig } from 'vite' export default defineConfig(async ({ command, mode }): Promise => { - return await createViteConfig(command, mode, process.cwd()) + return await createViteConfig(command, mode, process.cwd()) as UserConfig }) diff --git a/apps/gf-vben/vite.config.ts b/apps/gf-vben/vite.config.ts index b369dae8..072f574f 100644 --- a/apps/gf-vben/vite.config.ts +++ b/apps/gf-vben/vite.config.ts @@ -2,5 +2,5 @@ import { createViteConfig } from '@config/vite' import { defineConfig, UserConfig } from 'vite' export default defineConfig(async ({ command, mode }): Promise => { - return await createViteConfig(command, mode, process.cwd()) + return await createViteConfig(command, mode, process.cwd()) as UserConfig })