Skip to content

Commit 41ba7ff

Browse files
author
ws-wangjg
committed
fix: fix storybook vite copy public dir false
1 parent 16d1798 commit 41ba7ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.storybook/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ const config: StorybookConfig = {
9595
outDir: path.resolve(rootDir, 'storybook-static'),
9696
// manager 会负责清理 outputDir;这里避免 vite 误删 manager 文件
9797
emptyOutDir: false,
98+
publicDir: false,
99+
copyPublicDir: false,
98100
},
99101
})
100102

0 commit comments

Comments
 (0)