@remotion/bundler 4.0.211 → 4.0.213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/renderEntry.tsx +6 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/bundler",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.213",
|
|
7
7
|
"description": "Bundle Remotion compositions using Webpack",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"style-loader": "2.0.0",
|
|
26
26
|
"source-map": "0.7.3",
|
|
27
27
|
"webpack": "5.94.0",
|
|
28
|
-
"remotion": "4.0.
|
|
29
|
-
"@remotion/studio": "4.0.
|
|
30
|
-
"@remotion/studio-shared": "4.0.
|
|
28
|
+
"remotion": "4.0.213",
|
|
29
|
+
"@remotion/studio": "4.0.213",
|
|
30
|
+
"@remotion/studio-shared": "4.0.213"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": ">=16.8.0",
|
package/renderEntry.tsx
CHANGED
|
@@ -188,10 +188,15 @@ const GetVideo: React.FC<{state: BundleState}> = ({state}) => {
|
|
|
188
188
|
);
|
|
189
189
|
};
|
|
190
190
|
|
|
191
|
+
const DEFAULT_ROOT_COMPONENT_TIMEOUT = 10000;
|
|
192
|
+
|
|
191
193
|
const waitForRootHandle = delayRender(
|
|
192
194
|
'Loading root component - See https://remotion.dev/docs/troubleshooting/loading-root-component if you experience a timeout',
|
|
193
195
|
{
|
|
194
|
-
timeoutInMilliseconds:
|
|
196
|
+
timeoutInMilliseconds:
|
|
197
|
+
typeof window === 'undefined'
|
|
198
|
+
? DEFAULT_ROOT_COMPONENT_TIMEOUT
|
|
199
|
+
: window.remotion_puppeteerTimeout ?? DEFAULT_ROOT_COMPONENT_TIMEOUT,
|
|
195
200
|
},
|
|
196
201
|
);
|
|
197
202
|
|