fix: port the latest defineConfig
type from vite
#3804
Merged
defineConfig
type from vite
#3804