@kanso-labs/vite-plugin-style-dictionary, written directly as a Vite plugin. The unplugin rewrite changes three things for a Vite project, and nothing about how it behaves.
1
Install the new package
2
Import the Vite entry
The root import is no longer a Vite plugin. Import
/vite, which is a drop-in replacement for the old default export:vite.config.ts
3
Rename the options type
VitePluginStyleDictionaryOptions is now UnpluginStyleDictionaryOptions, exported from every entry point:config, watch and silent, keep their shape.buildStart and rebuilding under the dev server work as they did. The other targets are new: see Bundlers.
