@remotion/bundler 4.0.506 → 4.0.507
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/dist/bundle.js +12 -9
- package/package.json +7 -7
package/dist/bundle.js
CHANGED
|
@@ -176,14 +176,14 @@ const validateEntryPoint = async (entryPoint) => {
|
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
const internalBundle = async (actualArgs) => {
|
|
179
|
-
var _a, _b;
|
|
180
|
-
var
|
|
179
|
+
var _a, _b, _c;
|
|
180
|
+
var _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
181
181
|
const entryPoint = node_path_1.default.resolve(process.cwd(), actualArgs.entryPoint);
|
|
182
|
-
const resolvedRemotionRoot = (
|
|
182
|
+
const resolvedRemotionRoot = (_e = (_d = actualArgs === null || actualArgs === void 0 ? void 0 : actualArgs.rootDir) !== null && _d !== void 0 ? _d : findClosestPackageJsonFolder(entryPoint)) !== null && _e !== void 0 ? _e : process.cwd();
|
|
183
183
|
if (!actualArgs.ignoreRegisterRootWarning) {
|
|
184
184
|
await validateEntryPoint(entryPoint);
|
|
185
185
|
}
|
|
186
|
-
const outDir = await prepareOutDir((
|
|
186
|
+
const outDir = await prepareOutDir((_f = actualArgs === null || actualArgs === void 0 ? void 0 : actualArgs.outDir) !== null && _f !== void 0 ? _f : null);
|
|
187
187
|
(_a = actualArgs.onDirectoryCreated) === null || _a === void 0 ? void 0 : _a.call(actualArgs, outDir);
|
|
188
188
|
// The config might use an override which might use
|
|
189
189
|
// `process.cwd()`. The context should always be the Remotion root.
|
|
@@ -311,12 +311,12 @@ const internalBundle = async (actualArgs) => {
|
|
|
311
311
|
}),
|
|
312
312
|
includeFavicon: true,
|
|
313
313
|
title: 'Remotion Bundle',
|
|
314
|
-
renderDefaults: (
|
|
314
|
+
renderDefaults: (_g = actualArgs.renderDefaults) !== null && _g !== void 0 ? _g : undefined,
|
|
315
315
|
publicFolderExists: `${publicPath + (publicPath.endsWith('/') ? '' : '/')}public`,
|
|
316
316
|
fileSystemPlatform: null,
|
|
317
|
-
gitSource: (
|
|
317
|
+
gitSource: (_h = actualArgs.gitSource) !== null && _h !== void 0 ? _h : null,
|
|
318
318
|
projectName: (0, studio_shared_1.getProjectName)({
|
|
319
|
-
gitSource: (
|
|
319
|
+
gitSource: (_j = actualArgs.gitSource) !== null && _j !== void 0 ? _j : null,
|
|
320
320
|
resolvedRemotionRoot,
|
|
321
321
|
basename: node_path_1.default.basename,
|
|
322
322
|
}),
|
|
@@ -325,14 +325,17 @@ const internalBundle = async (actualArgs) => {
|
|
|
325
325
|
// Actual log level is set in setPropsAndEnv()
|
|
326
326
|
logLevel: 'info',
|
|
327
327
|
mode: 'bundle',
|
|
328
|
-
audioLatencyHint: (
|
|
329
|
-
sampleRate: (
|
|
328
|
+
audioLatencyHint: (_k = actualArgs.audioLatencyHint) !== null && _k !== void 0 ? _k : 'playback',
|
|
329
|
+
sampleRate: (_l = (_b = actualArgs.renderDefaults) === null || _b === void 0 ? void 0 : _b.sampleRate) !== null && _l !== void 0 ? _l : 48000,
|
|
330
330
|
studioRuntimeConfig: {
|
|
331
331
|
askAIEnabled: actualArgs.askAIEnabled,
|
|
332
332
|
bufferStateDelayInMilliseconds: actualArgs.bufferStateDelayInMilliseconds,
|
|
333
|
+
defaultCodingAgent: null,
|
|
334
|
+
defaultEditor: null,
|
|
333
335
|
interactivityEnabled: actualArgs.interactivityEnabled,
|
|
334
336
|
keyboardShortcutsEnabled: actualArgs.keyboardShortcutsEnabled,
|
|
335
337
|
maxTimelineTracks: actualArgs.maxTimelineTracks,
|
|
338
|
+
publicLicenseKey: (_m = (_c = actualArgs.renderDefaults) === null || _c === void 0 ? void 0 : _c.publicLicenseKey) !== null && _m !== void 0 ? _m : null,
|
|
336
339
|
},
|
|
337
340
|
});
|
|
338
341
|
node_fs_1.default.writeFileSync(node_path_1.default.join(outDir, 'index.html'), html);
|
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.507",
|
|
7
7
|
"description": "Bundle Remotion compositions using Webpack",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bugs": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"css-loader": "7.1.4",
|
|
25
25
|
"esbuild": "0.28.1",
|
|
26
26
|
"react-refresh": "0.18.0",
|
|
27
|
-
"remotion": "4.0.
|
|
28
|
-
"@remotion/studio": "4.0.
|
|
29
|
-
"@remotion/studio-shared": "4.0.
|
|
30
|
-
"@remotion/timeline-utils": "4.0.
|
|
31
|
-
"@remotion/media-parser": "4.0.
|
|
27
|
+
"remotion": "4.0.507",
|
|
28
|
+
"@remotion/studio": "4.0.507",
|
|
29
|
+
"@remotion/studio-shared": "4.0.507",
|
|
30
|
+
"@remotion/timeline-utils": "4.0.507",
|
|
31
|
+
"@remotion/media-parser": "4.0.507",
|
|
32
32
|
"style-loader": "4.0.0",
|
|
33
33
|
"webpack": "5.105.0"
|
|
34
34
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"react": "19.2.3",
|
|
41
41
|
"react-dom": "19.2.3",
|
|
42
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
42
|
+
"@remotion/eslint-config-internal": "4.0.507",
|
|
43
43
|
"eslint": "9.19.0",
|
|
44
44
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
45
45
|
},
|