Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: Excessive stack depth comparing types UserConfig and UserConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
likui628 committed Feb 3, 2024
1 parent 385e1c2 commit c092900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/admin/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { createViteConfig } from '@config/vite'
import { defineConfig, UserConfig } from 'vite'

export default defineConfig(async ({ command, mode }): Promise<UserConfig> => {
return await createViteConfig(command, mode, process.cwd())
return await createViteConfig(command, mode, process.cwd()) as UserConfig
})
2 changes: 1 addition & 1 deletion apps/gf-vben/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { createViteConfig } from '@config/vite'
import { defineConfig, UserConfig } from 'vite'

export default defineConfig(async ({ command, mode }): Promise<UserConfig> => {
return await createViteConfig(command, mode, process.cwd())
return await createViteConfig(command, mode, process.cwd()) as UserConfig
})

0 comments on commit c092900

Please sign in to comment.