diff --git a/.storybook/main.ts b/.storybook/main.ts index f61f6e8..48e5ffc 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -16,11 +16,11 @@ const config: StorybookConfig = { typescript: { reactDocgen: 'react-docgen-typescript' }, - viteFinal: (config) => { + viteFinal: (viteConfig) => { return { - ...config, + ...viteConfig, build: { - ...config.build, + ...viteConfig.build, sourcemap: false, target: ['es2020'] }