File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 1
- import type { StorybookConfig } from ' @storybook/react-webpack5' ;
1
+ import type { StorybookConfig } from " @storybook/react-webpack5" ;
2
2
const config : StorybookConfig = {
3
- stories : [ ' ../src/**/*.stories.@(js|jsx|ts|tsx|mdx)' ] ,
4
- addons : [
5
- ' @storybook/addon-links' ,
6
- ' @storybook/addon-essentials' ,
7
- ' @storybook/addon-interactions' ,
8
- ' @storybook/addon-webpack5-compiler-swc' ,
9
- ] ,
10
- framework : {
11
- name : ' @storybook/react-webpack5' ,
12
- options : {
13
- builder : {
14
- // biome-ignore lint/style/useNamingConvention: <explanation>
15
- useSWC : true ,
16
- } ,
17
- } ,
18
- } ,
19
- swc : ( ) => ( {
20
- jsc : {
21
- transform : {
22
- react : {
23
- runtime : ' automatic' ,
24
- } ,
25
- } ,
26
- } ,
27
- } ) ,
28
- docs : {
29
- autodocs : ' tag' ,
30
- } ,
3
+ stories : [ " ../src/**/*.stories.@(js|jsx|ts|tsx|mdx)" ] ,
4
+ addons : [
5
+ " @storybook/addon-links" ,
6
+ " @storybook/addon-essentials" ,
7
+ " @storybook/addon-interactions" ,
8
+ " @storybook/addon-webpack5-compiler-swc" ,
9
+ ] ,
10
+ framework : {
11
+ name : " @storybook/react-webpack5" ,
12
+ options : {
13
+ builder : {
14
+ // biome-ignore lint/style/useNamingConvention: <explanation>
15
+ useSWC : true ,
16
+ } ,
17
+ } ,
18
+ } ,
19
+ swc : ( ) => ( {
20
+ jsc : {
21
+ transform : {
22
+ react : {
23
+ runtime : " automatic" ,
24
+ } ,
25
+ } ,
26
+ } ,
27
+ } ) ,
28
+ docs : {
29
+ autodocs : " tag" ,
30
+ } ,
31
31
} ;
32
32
export default config ;
You can’t perform that action at this time.
0 commit comments