Skip to content

Commit

Permalink
Fix production build config
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Jul 11, 2024
1 parent 9d7973b commit a63eb38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playground/src/lib/presets/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export function playgroundPreset(options?: PartialDeep<PlaygroundPresetOptions>)

await monacoPreset().handler(config, context);

if (context.isDev) {
productionBuildPreset().handler(config, context);
if (!context.isDev) {
await productionBuildPreset().handler(config, context);
}
},
};
Expand Down

0 comments on commit a63eb38

Please sign in to comment.