Features get added and removed, and breaking changes are introduced! This documents how to migrate.
0.7.0
Updated options and optionsSchema
They’re not optional by default, you need to manually add .optional() at the end of your zod schema.
If it’s optional, users can still pass nothing or undefined.
Plugins types
Plugin generics have been simplified, allowing simpler plugin builds. This should be non-breaking for plugin
relying on type inference, plugins with explicitly declared signature should update the following:
0.6.0
Updated addVitePlugin
The addVitePlugin utility now requires a config and logger parameter to log warnings for duplicate plugins
Or you can turn off warnings for duplicate plugins using warnDuplicate: false
Updated addVirtualImports
The addVirtualImports utility now requires a config parameter
Updated addDevToolbarFrameworkApp
The addDevToolbarFrameworkApp utility now requires a config parameter
0.5.0
Updated addVirtualImport
addVirtualImport was removed in 0.5.0. Here is how to migrate: