From 0d896c37dd536fc5dd801e29d5c3b7c5ed7318a7 Mon Sep 17 00:00:00 2001 From: ronny1020 <1020ronny@gmail.com> Date: Mon, 8 Jul 2024 23:41:56 +0800 Subject: [PATCH] fix: fix naming --- .storybook/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'] }