Skip to content

rspack-contrib/storybook-rsbuild

Repository files navigation

Storybook Rsbuild

Storybook × Rsbuild

latest version NPM downloads per month license main branch main branch

The repository contains the Storybook Rsbuild builder and UI framework integrations.

Note

For users of Storybook v9, Storybook Rsbuild already provides basic alpha version support. Check out the v2 branch (using version 2.0-alpha.x), and refer to the Storybook v9 migration documentation.

Usage

Check out the documentation.

Roadmap

Features

  • Support TS type check (fork-ts-checker-webpack-plugin) (supported in 0.0.4)
  • Support more frameworks (Preact / Svelte / vanilla html / Lit)

Rspack support

  • Support webpackInclude magic comment (supported in 0.0.7)
  • Support persistent cache
  • Support lazy compilation
  • Support virtual modules
  • Support module.unknownContextCritical
  • Support compilation.dependencyTemplates.set for react-docgen-typescript (supported in a workaround)

Credits

Some code is copied or modified from storybookjs/storybook.

License

MIT