@remotion/bundler 4.0.103 → 4.0.106

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
@@ -217,7 +217,7 @@ async function bundle(...args) {
217
217
  includeFavicon: false,
218
218
  title: 'Remotion Bundle',
219
219
  renderDefaults: undefined,
220
- publicFolderExists: baseDir + '/public',
220
+ publicFolderExists: `${baseDir + (baseDir.endsWith('/') ? '' : '/')}public`,
221
221
  gitSource: (_f = actualArgs.gitSource) !== null && _f !== void 0 ? _f : null,
222
222
  });
223
223
  node_fs_1.default.writeFileSync(node_path_1.default.join(outDir, 'index.html'), html);
@@ -41,7 +41,7 @@ const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash,
41
41
  : ''}
42
42
  ${gitSource
43
43
  ? `<script>window.remotion_gitSource = ${JSON.stringify(gitSource)};</script>`
44
- : null}
44
+ : ''}
45
45
  <script>window.remotion_staticFiles = ${JSON.stringify(publicFiles)}</script>
46
46
  <script>window.remotion_publicFolderExists = ${publicFolderExists ? `"${publicFolderExists}"` : 'null'};</script>
47
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "4.0.103",
3
+ "version": "4.0.106",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -25,9 +25,9 @@
25
25
  "style-loader": "2.0.0",
26
26
  "source-map": "0.7.3",
27
27
  "webpack": "5.83.1",
28
- "remotion": "4.0.103",
29
- "@remotion/studio-shared": "4.0.103",
30
- "@remotion/studio": "4.0.103"
28
+ "remotion": "4.0.106",
29
+ "@remotion/studio": "4.0.106",
30
+ "@remotion/studio-shared": "4.0.106"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",