Skip to content

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

Merged
JonnyBurger merged 1 commit intomainfrom
fix/render-log-level-in-bundle-mode
Mar 24, 2026
Merged

@remotion/bundler: Render window.remotion_logLevel in bundle mode#6902
JonnyBurger merged 1 commit intomainfrom
fix/render-log-level-in-bundle-mode

Conversation

@JonnyBurger
Copy link
Copy Markdown
Member

Summary

  • window.remotion_logLevel was only rendered in dev mode but not in bundle mode
  • Removed the mode === 'dev' condition so the log level is always set in the HTML output

Test plan

  • Verify window.remotion_logLevel is present in the HTML when bundling

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Mar 23, 2026 5:14pm
remotion Ready Ready Preview, Comment Mar 23, 2026 5:14pm

Request Review

Copy link
Copy Markdown
Contributor

@pullfrog pullfrog bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, targeted fix. Removing the mode === 'dev' condition so window.remotion_logLevel is always available in the HTML output, which is needed for logging configuration in bundle mode (e.g., delay-render.ts:209 reads it).

Pullfrog  | View workflow runpullfrog.com𝕏

@JonnyBurger JonnyBurger merged commit 98b1564 into main Mar 24, 2026
19 checks passed
@JonnyBurger JonnyBurger deleted the fix/render-log-level-in-bundle-mode branch March 24, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant