v0.2.0
版本发布时间: 2022-07-13 22:51:57
storybookjs/builder-vite最新发布版本:v0.4.2(2023-02-13 08:08:22)
What's Changed
- [breaking] Read
svelte.config.js
by @benmccann in https://github.com/storybookjs/builder-vite/pull/428 - [breaking]: Support Vite 3 by @IanVS in https://github.com/storybookjs/builder-vite/pull/394
- fix: Load @sveltejs/vite-plugin-svelte conditionally by @IanVS in https://github.com/storybookjs/builder-vite/pull/434
This version requires Vite 3. If you are using Vite 2, you'll need to stay on the 0.1.X branch until you're able to upgrade. Vite migration notes can be found at https://github.com/vitejs/vite/blob/main/docs/guide/migration.md.
In addition, for svelte projects, svelte.config.js
will be used automatically in your storybook config. This means that if you were merging your options into svelteOptions
in .storybook/main.cjs
previously, you can remove it. If you need storybook config to be different from your app, you can still use the svelteOptions
as an override.
Full Changelog: https://github.com/storybookjs/builder-vite/compare/v0.1.39...v0.2.0