@remotion/bundler 3.3.9 → 3.3.10

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 CHANGED
@@ -154,6 +154,8 @@ async function bundle(...args) {
154
154
  remotionRoot: resolvedRemotionRoot,
155
155
  previewServerCommand: null,
156
156
  numberOfAudioTags: 0,
157
+ includeFavicon: false,
158
+ title: 'Remotion Bundle',
157
159
  });
158
160
  fs_1.default.writeFileSync(path_1.default.join(outDir, 'index.html'), html);
159
161
  return outDir;
@@ -1,4 +1,4 @@
1
- export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, }: {
1
+ export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, includeFavicon, title, }: {
2
2
  staticHash: string;
3
3
  baseDir: string;
4
4
  editorName: string | null;
@@ -7,4 +7,6 @@ export declare const indexHtml: ({ baseDir, editorName, inputProps, envVariables
7
7
  remotionRoot: string;
8
8
  previewServerCommand: string | null;
9
9
  numberOfAudioTags: number;
10
+ includeFavicon: boolean;
11
+ title: string;
10
12
  }) => string;
@@ -5,15 +5,17 @@ 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, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, }) => `
8
+ const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, includeFavicon, title, }) => `
9
9
  <!DOCTYPE html>
10
10
  <html lang="en">
11
11
  <head>
12
12
  <meta charset="UTF-8" />
13
13
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
14
14
  <link rel="preconnect" href="https://fonts.gstatic.com" />
15
- <link rel="icon" type="image/png" href="/remotion.png" />
16
- <title>Remotion Preview</title>
15
+ ${includeFavicon
16
+ ? ` <link rel="icon" type="image/png" href="/remotion.png" />\n`
17
+ : ''}
18
+ <title>${title}</title>
17
19
  </head>
18
20
  <body>
19
21
  <script>window.remotion_numberOfAudioTags = ${numberOfAudioTags};</script>
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare const BundlerInternals: {
16
16
  entryPoints: string[];
17
17
  remotionRoot: string;
18
18
  }) => [string, webpack.Configuration];
19
- indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, }: {
19
+ indexHtml: ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, includeFavicon, title, }: {
20
20
  staticHash: string;
21
21
  baseDir: string;
22
22
  editorName: string | null;
@@ -25,6 +25,8 @@ export declare const BundlerInternals: {
25
25
  remotionRoot: string;
26
26
  previewServerCommand: string | null;
27
27
  numberOfAudioTags: number;
28
+ includeFavicon: boolean;
29
+ title: string;
28
30
  }) => string;
29
31
  cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "exists" | "other-exists" | "does-not-exist";
30
32
  clearCache: (remotionRoot: string) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "3.3.9",
3
+ "version": "3.3.10",
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.15.13",
28
28
  "react-refresh": "0.9.0",
29
- "remotion": "3.3.9",
29
+ "remotion": "3.3.10",
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": "86269c98522cb7ea280f8283fa6c57885b971b3b"
67
+ "gitHead": "4909df63b9663ecc0294f186d5fe7efd59eee143"
68
68
  }