mirror of
https://github.com/primer/css.git
synced 2024-12-25 07:03:35 +03:00
ad358f2087
* upgrade * add all stories * new directory * move back to docs * remove from root * cleanup * try node 16 * adjust build script * try to fix build * try node 16 * maybe? * please * bye gatsby * fix button story * add info banner * add missing marketing docs
30 lines
726 B
JavaScript
30 lines
726 B
JavaScript
/** @type { import('@storybook/react-webpack5').StorybookConfig } */
|
|
const config = {
|
|
stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@storybook/addon-interactions',
|
|
'storybook-addon-pseudo-states',
|
|
'@storybook/addon-storysource',
|
|
'@geometricpanda/storybook-addon-badges',
|
|
{
|
|
name: '@storybook/addon-styling',
|
|
options: {
|
|
sass: {
|
|
implementation: require('sass'),
|
|
},
|
|
},
|
|
},
|
|
],
|
|
framework: {
|
|
name: '@storybook/react-webpack5',
|
|
options: {},
|
|
},
|
|
docs: {
|
|
autodocs: 'tag',
|
|
},
|
|
staticDirs: ['../stories/static'],
|
|
}
|
|
export default config
|