Type '(config: UserConfig, { command, mode }: ConfigEnv) => { base: string; publicDir: string | false; build: { manifest: string | boolean; outDir: string | undefined; rollupOptions: { ...; }; assetsInlineLimit: number; }; server: { ...; }; resolve: { ...; }; ssr: { ...; }; }' is not assignable to type '(config: UserConfig, env: ConfigEnv) => UserConfig'.