@remotion/bundler 3.2.26 → 3.2.28
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/index-html.d.ts +2 -1
- package/dist/index-html.js +7 -1
- package/dist/index.d.ts +2 -1
- package/package.json +3 -3
package/dist/index-html.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export declare const indexHtml: ({ baseDir, editorName, inputProps, staticHash, remotionRoot, previewServerCommand, }: {
|
|
1
|
+
export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, }: {
|
|
2
2
|
staticHash: string;
|
|
3
3
|
baseDir: string;
|
|
4
4
|
editorName: string | null;
|
|
5
5
|
inputProps: object | null;
|
|
6
|
+
envVariables?: Record<string, string> | undefined;
|
|
6
7
|
remotionRoot: string;
|
|
7
8
|
previewServerCommand: string | null;
|
|
8
9
|
}) => string;
|
package/dist/index-html.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.indexHtml = void 0;
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
|
-
const indexHtml = ({ baseDir, editorName, inputProps, staticHash, remotionRoot, previewServerCommand, }) => `
|
|
8
|
+
const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, }) => `
|
|
9
9
|
<!DOCTYPE html>
|
|
10
10
|
<html lang="en">
|
|
11
11
|
<head>
|
|
@@ -29,6 +29,12 @@ const indexHtml = ({ baseDir, editorName, inputProps, staticHash, remotionRoot,
|
|
|
29
29
|
? `<script>window.remotion_inputProps = ${JSON.stringify(JSON.stringify(inputProps))};</script>
|
|
30
30
|
`
|
|
31
31
|
: ''}
|
|
32
|
+
${envVariables
|
|
33
|
+
? `<script> window.process = {
|
|
34
|
+
env: ${JSON.stringify(envVariables)}
|
|
35
|
+
};</script>
|
|
36
|
+
`
|
|
37
|
+
: ''}
|
|
32
38
|
|
|
33
39
|
<div id="container"></div>
|
|
34
40
|
<div id="menuportal-0"></div>
|
package/dist/index.d.ts
CHANGED
|
@@ -16,11 +16,12 @@ export declare const BundlerInternals: {
|
|
|
16
16
|
entryPoints: string[];
|
|
17
17
|
remotionRoot: string;
|
|
18
18
|
}) => [string, webpack.Configuration];
|
|
19
|
-
indexHtml: ({ baseDir, editorName, inputProps, staticHash, remotionRoot, previewServerCommand, }: {
|
|
19
|
+
indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, }: {
|
|
20
20
|
staticHash: string;
|
|
21
21
|
baseDir: string;
|
|
22
22
|
editorName: string | null;
|
|
23
23
|
inputProps: object | null;
|
|
24
|
+
envVariables?: Record<string, string> | undefined;
|
|
24
25
|
remotionRoot: string;
|
|
25
26
|
previewServerCommand: string | null;
|
|
26
27
|
}) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/bundler",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.28",
|
|
4
4
|
"description": "Bundler for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"css-loader": "5.2.7",
|
|
27
27
|
"esbuild": "0.14.19",
|
|
28
28
|
"react-refresh": "0.9.0",
|
|
29
|
-
"remotion": "3.2.
|
|
29
|
+
"remotion": "3.2.28",
|
|
30
30
|
"style-loader": "2.0.0",
|
|
31
31
|
"webpack": "5.74.0"
|
|
32
32
|
},
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "49bb70afa503bfb0c89ee51d8bf3386ad1b91ac4"
|
|
68
68
|
}
|