Closed pwoloszun closed 1 year ago
Try reload your vscode
Try reload your vscode
Does not help. What is more it throws an error when I build my project.
error TS2322: Type 'Plugin_2' is not assignable to type 'PluginOption'.
Ofc an ugly
as any
fixes it BUT it can be easily fixed in a good way. Just replace custom 'Plugin_2' with vites 'PluginOption' type.
Ugly fix:
import mkcert from 'vite-plugin-mkcert';
export default defineConfig({
plugins: [
mkcert() as any // ugly fix
]
});
:tada: This issue has been resolved in version 1.10.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
in package.json:
in vite.config.ts:
throws TS error: