Skip to content

ianzone/react-storybook

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

react storybook template

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published