Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Nov 12, 2022
1 parent e43ec8e commit 91b48a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/histoire/src/node/build.ts
Expand Up @@ -76,7 +76,8 @@ export async function build (ctx: Context) {
const variantCount = ctx.storyFiles.reduce((sum, file) => sum + (file.story?.variants.length ?? 0), 0)
const emptyStoryCount = ctx.storyFiles.length - storyCount

const buildViteConfig: ViteInlineConfig = mergeViteConfig(await getViteConfigWithPlugins(false, ctx), {
const { viteConfig: buildViteConfigRaw } = await getViteConfigWithPlugins(false, ctx)
const buildViteConfig: ViteInlineConfig = mergeViteConfig(buildViteConfigRaw, {
mode: 'development',
build: {
lib: false,
Expand Down

0 comments on commit 91b48a1

Please sign in to comment.