mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-21 21:32:13 +01:00
Fix Storybook Vite outDir (#879)
This commit is contained in:
parent
7a9c867fed
commit
fc87c3fc98
@ -30,7 +30,9 @@ const config: StorybookConfig = {
|
||||
const { tsImport } = await import("tsx/esm/api");
|
||||
const electronViteConfig = (await tsImport("../electron.vite.config.ts", import.meta.url))
|
||||
.default as ElectronViteConfig;
|
||||
return mergeConfig(config, electronViteConfig.renderer as UserConfig);
|
||||
const mergedConfig = mergeConfig(config, electronViteConfig.renderer as UserConfig);
|
||||
mergedConfig.build.outDir = "storybook-static";
|
||||
return mergedConfig;
|
||||
},
|
||||
|
||||
staticDirs: [{ from: "../assets", to: "/assets" }],
|
||||
|
Loading…
Reference in New Issue
Block a user