Skip to content

🎥 Make videos programmatically with React

`@remotion/bundler`: Render `window.remotion_logLevel` in bundle mode

Jonny Burgerd7069576a615
diff --git a/packages/bundler/src/index-html.ts b/packages/bundler/src/index-html.ts
index a00c91d372..b50a29d049 100644
--- a/packages/bundler/src/index-html.ts
+++ b/packages/bundler/src/index-html.ts
@@ -70,7 +70,7 @@ export const indexHtml = ({
<body>
<script>window.remotion_numberOfAudioTags = ${numberOfAudioTags};</script>
<script>window.remotion_audioLatencyHint = "${audioLatencyHint}";</script>
- ${mode === 'dev' ? `<script>window.remotion_logLevel = "${logLevel}";</script>` : ''}
+ <script>window.remotion_logLevel = "${logLevel}";</script>
<script>window.remotion_staticBase = "${staticHash}";</script>
${
editorName