npm @storybook/builder-vite 0.2.0
v0.2.0

latest releases: 7.0.0-rc.10, 7.0.0-rc.9, 7.0.0-rc.8...
2 years ago

What's Changed

  • [breaking] Read svelte.config.js by @benmccann in #428
  • [breaking]: Support Vite 3 by @IanVS in #394
  • fix: Load @sveltejs/vite-plugin-svelte conditionally by @IanVS in #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: v0.1.39...v0.2.0

Don't miss a new builder-vite release

NewReleases is sending notifications on new releases.