1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 23:23:47 +03:00
css/docs/.storybook/main.js
Katie Langerman acc29def37
Move gatsby docs to Storybook (#2488)
* add mdx

* fix build

* test canvas format

* url structure and static dir

* fix static?
2023-07-12 08:28:18 -07:00

23 lines
496 B
JavaScript

module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
{
name: '@storybook/addon-essentials',
options: {
actions: false,
controls: false,
docs: true,
viewport: true,
},
},
'@storybook/addon-a11y',
'@storybook/addon-links',
'@storybook/preset-scss',
],
framework: '@storybook/react',
core: {
builder: 'webpack5',
},
staticDirs: ['../src/stories/static'],
}