Skip to content

Commit

Permalink
Fix an error where uninitialized variables were accessed
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Jul 10, 2024
1 parent 7430c28 commit 1eb2128
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/playground/src/lib/presets/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ export function playgroundPreset(options?: PartialDeep<PlaygroundPresetOptions>)
},
};

delete webpackConfig.optimization?.runtimeChunk;

if (!isDefined(webpackConfig.entry['js/app'])) {
webpackConfig.entry['js/app'] = '@studiometa/playground/dist/front/js/app.js';
}
Expand Down

0 comments on commit 1eb2128

Please sign in to comment.