Skip to content

🎥 Make videos programmatically with React

Restore packages/example/src/webpack-override.ts

Jonny Burgerad4d13468f8e
diff --git a/packages/example/src/webpack-override.ts b/packages/example/src/webpack-override.ts
index 9946e2bcb9..bab48ce7a7 100644
--- a/packages/example/src/webpack-override.ts
+++ b/packages/example/src/webpack-override.ts
@@ -20,8 +20,7 @@ export const webpackOverride: WebpackOverrideFn = (currentConfiguration) => {
return currentConfiguration;
})();
-
- const updated = {
+ return {
...replaced,
module: {
...replaced.module,
@@ -57,6 +56,4 @@ export const webpackOverride: WebpackOverrideFn = (currentConfiguration) => {
},
},
};
-
- return updated;
};