An open API service indexing awesome lists of open source software.

https://github.com/ianzone/react-storybook

react storybook template
https://github.com/ianzone/react-storybook

react storybook

Last synced: 2 months ago
JSON representation

react storybook template

Awesome Lists containing this project

README

          

# Toolchain


Tasks
Tools
Options


Building








Linting






Testing










CI/CD






[Publish storybook](https://storybook.js.org/docs/sharing/publish-storybook)

# Build strategy
## Produce
- .js
- .d.ts
- .map
- .css

## Bundle dependencies?
Since package managers will download dependencies of dependencies, it's not necessary to bundle them. However, it's good to bundle if the lib is delivered via CDN.

## tsc caveats
[Path alias doesn't work in .d.ts files.](https://github.com/microsoft/TypeScript/issues/15479)
check https://github.com/microsoft/TypeScript/issues/16607
[css won't be copied to dist](https://stackoverflow.com/questions/59213489/include-css-files-in-tsc-typescript-compilation)
solution: use bundler to generate .d.ts files