We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d9baf commit c391fe6Copy full SHA for c391fe6
.storybook/main.ts
@@ -9,11 +9,11 @@ const config: StorybookConfig = {
9
docs: { autodocs: 'tag' },
10
staticDirs: ['../public'],
11
core: { disableTelemetry: true },
12
- webpackFinal: async (config: any, { configType }) => {
13
- config.resolve.modules = [path.resolve(__dirname, '..'), 'node_modules'];
+ webpackFinal: async (config, { configType }) => {
+ config.resolve!.modules = [path.resolve(__dirname, '..'), 'node_modules'];
14
15
- config.resolve.alias = {
16
- ...config.resolve.alias,
+ config.resolve!.alias = {
+ ...config.resolve!.alias,
17
'@/components': path.resolve(__dirname, '../components'),
18
'@/util': path.resolve(__dirname, '../util'),
19
'@/hooks': path.resolve(__dirname, '../hooks'),
0 commit comments