We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3dbc2d commit 86d830fCopy full SHA for 86d830f
2 files changed
.storybook/preview.css
@@ -22,4 +22,4 @@ body {
22
#storybook-docs {
23
height: auto !important;
24
overflow: auto !important;
25
-}
+}
webpack/webpack.common.js
@@ -161,9 +161,9 @@ const config = {
161
'@utils': path.resolve('./src/utils'),
162
'@theme': path.resolve('./src/theme'),
163
// 确保关键依赖只有一个实例,避免 zustand middleware 错误
164
- 'zustand': path.resolve('./node_modules/zustand'),
165
- 'immer': path.resolve('./node_modules/immer'),
166
- 'react': path.resolve('./node_modules/react'),
+ zustand: path.resolve('./node_modules/zustand'),
+ immer: path.resolve('./node_modules/immer'),
+ react: path.resolve('./node_modules/react'),
167
'react-dom': path.resolve('./node_modules/react-dom'),
168
},
169
symlinks: false,
0 commit comments