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
- Host: GitHub
- URL: https://github.com/ianzone/react-storybook
- Owner: ianzone
- Created: 2024-11-09T21:46:28.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-12T14:36:53.000Z (7 months ago)
- Last Synced: 2025-04-12T15:35:59.455Z (7 months ago)
- Topics: react, storybook
- Language: TypeScript
- Homepage:
- Size: 6.01 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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