mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 16:01:06 +08:00
This would be a good fundament for adding Snowpack/Vite builder support. Currently, Storybook UI can be built by Webpack or tsc, but esbuild transpiles .ts file-by-file and therefore has some caveats: https://esbuild.github.io/content-types/#typescript-caveats This change adds isolatedModules: true to tsconfig.json, and fixes a few places in the Storybook source code. The result has been briefly tested with esbuild - with these changes, it's possible to build Storybook UI using Vite.
2 lines
41 B
JavaScript
2 lines
41 B
JavaScript
export * from './dist/esm/lib/shortcut';
|