Skip to content
Permalink
Browse files
fix: build error
  • Loading branch information
Akryum committed Nov 12, 2022
1 parent e43ec8e commit 91b48a152ad637149420621452b7d05233a1ff49
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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,

0 comments on commit 91b48a1

Please sign in to comment.