hxtree/galaxyops

storybook switch from tsdx to native

Closed this issue · 1 comments

hxtree commented

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
the design system is using tsdx and rollup. this was very quick to setup at the time, but with storybook 7. vite seems like the way to go.

https://storybook.js.org/blog/first-class-vite-support-in-storybook/

npx storybook init --builder=vite

Describe the solution you'd like
A clear and concise description of what you want to happen.

design system builder is flaky. it doesnt work well with rush build. often it does build. it does work well with rushx build. This is causing ripplinf effects with clients

https://github.com/storybookjs/builder-vite#typescript

Maybe able to switch bundler

rush add --package -D @storybook/builder-vite

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Completed with PR#738