2020-08-04 12:59:41 +00:00
|
|
|
module.exports = {
|
2021-07-07 14:48:13 +00:00
|
|
|
core: {
|
|
|
|
builder: "webpack5"
|
|
|
|
},
|
2021-07-05 12:52:55 +00:00
|
|
|
stories: [
|
2020-09-03 17:26:36 +00:00
|
|
|
"../src/**/*.stories.mdx",
|
|
|
|
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
|
|
|
],
|
2021-07-05 12:52:55 +00:00
|
|
|
addons: [
|
2020-09-03 17:26:36 +00:00
|
|
|
"@storybook/addon-links",
|
|
|
|
"@storybook/addon-essentials",
|
2021-07-05 12:52:55 +00:00
|
|
|
{
|
|
|
|
name: "@storybook/addon-postcss",
|
|
|
|
options: {
|
|
|
|
// Explicitly enable PostCSS 8+ (see: https://storybook.js.org/addons/@storybook/addon-postcss)
|
|
|
|
postcssLoaderOptions: {
|
|
|
|
implementation: require("postcss"),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-09-03 17:26:36 +00:00
|
|
|
]
|
|
|
|
}
|