mirror of
https://github.com/primer/css.git
synced 2024-12-25 23:23:47 +03:00
acc29def37
* add mdx * fix build * test canvas format * url structure and static dir * fix static?
23 lines
496 B
JavaScript
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'],
|
|
}
|