Experimental storybook builder using Cloudpack.
Install the builder with npm:
npm install @ms-cloudpack/storybook-builder --save-dev
or yarn:
yarn add @ms-cloudpack/storybook-builder --dev
Configure the builder in the Storybook main configuration file:
// .storybook/main.js
const config = {
...
framework: '@storybook/your-framework',
core: {
builder: {
name: '@ms-cloudpack/storybook-builder',
options: {
...
},
},
...
},
...
};
export default config;
The builder will read your cloudpack.config.json
file, though it may add some options in order to work correctly. Ensure to have the Cloudpack config in the CWD.
These are features that are not yet supported by the builder:
- React docgen
- MDX