You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vite.config.ts:5:13 - error TS2322: Type 'Plugin' is not assignable to type 'PluginOption'.
Type 'Plugin' is not assignable to type 'Plugin_2'.
Full error
Type 'Plugin' is not assignable to type 'PluginOption'.
Type 'Plugin' is not assignable to type 'Plugin_2'.
Types of property 'apply' are incompatible.
Type '"build" | "serve" | ((config: UserConfig, env: ConfigEnv) => boolean) | undefined' is not assignable to type '"build" | "serve" | ((this: void, config: UserConfig, env: ConfigEnv) => boolean) | undefined'.
Type '(config: UserConfig, env: ConfigEnv) => boolean' is not assignable to type '"build" | "serve" | ((this: void, config: UserConfig, env: ConfigEnv) => boolean) | undefined'.
Type '(config: UserConfig, env: ConfigEnv) => boolean' is not assignable to type '(this: void, config: UserConfig, env: ConfigEnv) => boolean'.
Types of parameters 'config' and 'config' are incompatible.
Type 'import("stackblitz:/node_modules/vite/dist/node/index").UserConfig' is not assignable to type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").UserConfig'.
Types of property 'plugins' are incompatible.
Type 'import("stackblitz:/node_modules/vite/dist/node/index").PluginOption[] | undefined' is not assignable to type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").PluginOption[] | undefined'.
Type 'import("stackblitz:/node_modules/vite/dist/node/index").PluginOption[]' is not assignable to type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").PluginOption[]'.
Type 'import("stackblitz:/node_modules/vite/dist/node/index").PluginOption' is not assignable to type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").PluginOption'.
Type 'Plugin_2' is not assignable to type 'PluginOption'.
Type 'Plugin_2' is not assignable to type 'Plugin'.
Types of property 'apply' are incompatible.
Type '"build" | "serve" | ((this: void, config: UserConfig, env: ConfigEnv) => boolean) | undefined' is not assignable to type '"build" | "serve" | ((config: UserConfig, env: ConfigEnv) => boolean) | undefined'.
Type '(this: void, config: UserConfig, env: ConfigEnv) => boolean' is not assignable to type '"build" | "serve" | ((config: UserConfig, env: ConfigEnv) => boolean) | undefined'.
Type '(this: void, config: UserConfig, env: ConfigEnv) => boolean' is not assignable to type '(config: UserConfig, env: ConfigEnv) => boolean'.
Types of parameters 'config' and 'config' are incompatible.
Type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").UserConfig' is not assignable to type 'import("stackblitz:/node_modules/vite/dist/node/index").UserConfig'.
Types of property 'plugins' are incompatible.
Type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").PluginOption[] | undefined' is not assignable to type 'import("stackblitz:/node_modules/vite/dist/node/index").PluginOption[] | undefined'.
Type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").PluginOption[]' is not assignable to type 'import("stackblitz:/node_modules/vite/dist/node/index").PluginOption[]'.
Type 'import("stackblitz:/node_modules/vite-plugin-no-bundle/node_modules/vite/dist/node/index").PluginOption' is not assignable to type 'import("stackblitz:/node_modules/vite/dist/node/index").PluginOption'.
Type 'PluginOption[]' is not assignable to type 'PluginOption'.(2322)
Submitting as asked in vitejs/vite#4454 (comment).
Part of
tsc
error:Full error
stackblitz link
The text was updated successfully, but these errors were encountered: