From a63eb380aa8d67bdf9241951a09963116edec810 Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Thu, 11 Jul 2024 09:58:03 +0200 Subject: [PATCH] Fix production build config --- packages/playground/src/lib/presets/playground.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/playground/src/lib/presets/playground.ts b/packages/playground/src/lib/presets/playground.ts index 268edce..8b4a2f9 100644 --- a/packages/playground/src/lib/presets/playground.ts +++ b/packages/playground/src/lib/presets/playground.ts @@ -105,8 +105,8 @@ export function playgroundPreset(options?: PartialDeep) await monacoPreset().handler(config, context); - if (context.isDev) { - productionBuildPreset().handler(config, context); + if (!context.isDev) { + await productionBuildPreset().handler(config, context); } }, };