-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathmain.js
More file actions
38 lines (37 loc) · 911 Bytes
/
Copy pathmain.js
File metadata and controls
38 lines (37 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/** @type { import('@storybook/react-webpack5').StorybookConfig } */
const config = {
stories: ["../**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-onboarding",
"@storybook/addon-interactions",
"@storybook/addon-mdx-gfm",
"@storybook/addon-styling-webpack",
({
name: "@storybook/addon-styling-webpack",
options: {
rules: [{
test: /\.(css|scss)$/,
sideEffects: true,
use: [
require.resolve("style-loader"),
{
loader: require.resolve("css-loader"),
options: {},
},
"sass-loader",
],
},],
}
})
],
framework: {
name: "@storybook/react-webpack5",
options: {},
},
docs: {
autodocs: "tag",
},
};
export default config;