Skip to content

🎥 Make videos programmatically with React

declare global

Jonny Burger38d61aa84197
diff --git a/packages/bundler/src/index.ts b/packages/bundler/src/index.ts
index f112e11763..c2f3f93861 100644
--- a/packages/bundler/src/index.ts
+++ b/packages/bundler/src/index.ts
@@ -21,4 +21,8 @@ export {bundle, BundleOptions, LegacyBundleOptions} from './bundle';
export {WebpackConfiguration, WebpackOverrideFn} from './types';
export {webpack};
-export type WebpackConfiguration = webpack.Configuration;
+declare global {
+ interface RemotionBundlingOptions {
+ readonly overrideWebpackConfig: (f: WebpackOverrideFn) => void;
+ }
+}