Skip to content

🎥 Make videos programmatically with React

fix logic

Jonny Burger6931484933ff
diff --git a/packages/bundler/src/webpack-config.ts b/packages/bundler/src/webpack-config.ts
index b8c25f234e..803b4cba88 100644
--- a/packages/bundler/src/webpack-config.ts
+++ b/packages/bundler/src/webpack-config.ts
@@ -56,7 +56,7 @@ export const webpackConfig = ({
maxTimelineTracks: number;
entryPoints: string[];
}): [string, WebpackConfiguration] => {
- const conf: webpack.Configuration = {
+ const conf: webpack.Configuration = webpackOverride({
optimization: {
minimize: false,
},
@@ -177,11 +177,11 @@ export const webpackConfig = ({
},
],
},
- };
+ });
const hash = createHash('md5').update(JSON.stringify(conf)).digest('hex');
return [
hash,
- webpackOverride({
+ {
...conf,
cache: enableCaching
? {
@@ -194,6 +194,6 @@ export const webpackConfig = ({
...conf.output,
path: outDir,
},
- }),
+ },
];
};