Skip to content

rhassettcoding/storybook-init-rian

 
 

Repository files navigation

Toolchain

Tasks Tools Options
Building
Linting
Testing
CI/CD

Publish storybook

Build strategy

Produce

  • .js
  • .d.ts
  • .map
  • .css

Bundle dependencies?

Pros

  • Smaller download size when importing from html <script> tag via CDN.

Cons

  • Unnecessary build process, library would be bundled by the final user.
  • Can not share project dependencies, which cause redundant code and cause different globals for the same dependency.

tsc caveats

Path alias doesn't work in .d.ts files. check microsoft/TypeScript#16607 css won't be copied to dist solution: vite-plugin-dts

About

Minimum Storybook React setup for issue reproduction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 46.9%
  • MDX 42.6%
  • CSS 10.5%