@remotion/bundler 4.0.12 → 4.0.14
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 +1 -0
- package/dist/index-html.d.ts +2 -1
- package/dist/index-html.js +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -208,6 +208,7 @@ async function bundle(...args) {
|
|
|
208
208
|
includeFavicon: false,
|
|
209
209
|
title: 'Remotion Bundle',
|
|
210
210
|
renderDefaults: undefined,
|
|
211
|
+
publicFolderExists: baseDir + '/public',
|
|
211
212
|
});
|
|
212
213
|
node_fs_1.default.writeFileSync(node_path_1.default.join(outDir, 'index.html'), html);
|
|
213
214
|
return outDir;
|
package/dist/index-html.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ declare global {
|
|
|
29
29
|
remotion_renderDefaults: RenderDefaults | undefined;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, }: {
|
|
32
|
+
export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, }: {
|
|
33
33
|
staticHash: string;
|
|
34
34
|
baseDir: string;
|
|
35
35
|
editorName: string | null;
|
|
@@ -40,6 +40,7 @@ export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables
|
|
|
40
40
|
renderQueue: unknown | null;
|
|
41
41
|
numberOfAudioTags: number;
|
|
42
42
|
publicFiles: StaticFile[];
|
|
43
|
+
publicFolderExists: string | null;
|
|
43
44
|
includeFavicon: boolean;
|
|
44
45
|
title: string;
|
|
45
46
|
renderDefaults: RenderDefaults | undefined;
|
package/dist/index-html.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.indexHtml = void 0;
|
|
7
7
|
const node_path_1 = __importDefault(require("node:path"));
|
|
8
8
|
const remotion_1 = require("remotion");
|
|
9
|
-
const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, }) => `
|
|
9
|
+
const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, }) => `
|
|
10
10
|
<!DOCTYPE html>
|
|
11
11
|
<html lang="en">
|
|
12
12
|
<head>
|
|
@@ -45,6 +45,7 @@ ${includeFavicon
|
|
|
45
45
|
`
|
|
46
46
|
: ''}
|
|
47
47
|
<script>window.remotion_staticFiles = ${JSON.stringify(publicFiles)}</script>
|
|
48
|
+
<script>window.remotion_publicFolderExists = ${publicFolderExists ? `"${publicFolderExists}"` : 'null'};</script>
|
|
48
49
|
|
|
49
50
|
<div id="${remotion_1.Internals.REMOTION_STUDIO_CONTAINER_ELEMENT}"></div>
|
|
50
51
|
<div id="menuportal-0"></div>
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const BundlerInternals: {
|
|
|
16
16
|
remotionRoot: string;
|
|
17
17
|
poll: number | null;
|
|
18
18
|
}) => [string, webpack.Configuration];
|
|
19
|
-
indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, }: {
|
|
19
|
+
indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, }: {
|
|
20
20
|
staticHash: string;
|
|
21
21
|
baseDir: string;
|
|
22
22
|
editorName: string | null;
|
|
@@ -27,6 +27,7 @@ export declare const BundlerInternals: {
|
|
|
27
27
|
renderQueue: unknown;
|
|
28
28
|
numberOfAudioTags: number;
|
|
29
29
|
publicFiles: import("remotion").StaticFile[];
|
|
30
|
+
publicFolderExists: string | null;
|
|
30
31
|
includeFavicon: boolean;
|
|
31
32
|
title: string;
|
|
32
33
|
renderDefaults: import("./index-html").RenderDefaults | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/bundler",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.14",
|
|
4
4
|
"description": "Bundler for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react-refresh": "0.9.0",
|
|
23
23
|
"style-loader": "2.0.0",
|
|
24
24
|
"webpack": "5.83.1",
|
|
25
|
-
"remotion": "4.0.
|
|
25
|
+
"remotion": "4.0.14"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=16.8.0",
|