File tree Expand file tree Collapse file tree 3 files changed +81
-80
lines changed Expand file tree Collapse file tree 3 files changed +81
-80
lines changed Original file line number Diff line number Diff line change 1
- module . exports = {
1
+ const config = {
2
2
stories : [ "../src/**/*.mdx" , "../src/**/*.stories.tsx" ] ,
3
3
4
4
addons : [
@@ -14,15 +14,15 @@ module.exports = {
14
14
test : / \. c s s $ / ,
15
15
sideEffects : true ,
16
16
use : [
17
- require . resolve ( "style-loader" ) ,
17
+ "style-loader" ,
18
18
{
19
- loader : require . resolve ( "css-loader" ) ,
19
+ loader : "css-loader" ,
20
20
options : {
21
21
importLoaders : 1 ,
22
22
} ,
23
23
} ,
24
24
{
25
- loader : require . resolve ( "postcss-loader" ) ,
25
+ loader : "postcss-loader" ,
26
26
options : {
27
27
implementation : require . resolve ( "postcss" ) ,
28
28
} ,
@@ -57,3 +57,4 @@ module.exports = {
57
57
58
58
staticDirs : [ { from : "../src/assets" , to : "/assets" } ] ,
59
59
} ;
60
+ export default config ;
Original file line number Diff line number Diff line change 78
78
"@storybook/addon-styling-webpack" : " 1.0.0" ,
79
79
"@storybook/addon-webpack5-compiler-babel" : " 3.0.3" ,
80
80
"@storybook/blocks" : " 8.3.6" ,
81
+ "@storybook/manager-api" : " ^8.3.6" ,
81
82
"@storybook/react" : " 8.3.6" ,
82
83
"@storybook/react-webpack5" : " 8.3.6" ,
84
+ "@storybook/theming" : " ^8.3.6" ,
83
85
"@testing-library/jest-dom" : " 6.6.2" ,
84
86
"@testing-library/react" : " 12.1.5" ,
85
87
"@testing-library/react-hooks" : " 8.0.1" ,
86
88
"@testing-library/user-event" : " 14.5.2" ,
87
89
"@types/jest" : " 29.5.14" ,
90
+ "@types/node" : " ^22.7.9" ,
88
91
"@types/prismjs" : " 1.26.5" ,
89
92
"@types/react" : " 16.14.62" ,
90
93
"@types/react-dom" : " 16.9.24" ,
You can’t perform that action at this time.
0 commit comments