Package Exports
- @storybook/csf-tools
- @storybook/csf-tools/mdx
- @storybook/csf-tools/mdx.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storybook/csf-tools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Storybook CSF Tools
An experimental library to read, analyze, transform, and write CSF programmatically.
- Read - Parse a CSF file with Babel
- Analyze - Extract its metadata & stories based on the Babel AST
- Write - Write the AST back to a file
It can can parse MDX into CSF.
Coming soon:
- Transform - Update the AST to add/remove/modify stories & metadata (TODO)