Skip to content

Enable easy passing of environment variables in browser.script.iffe.js#649

Draft
ledsun wants to merge 1 commit intoruby:mainfrom
ledsun:codex/browser-script-data-env
Draft

Enable easy passing of environment variables in browser.script.iffe.js#649
ledsun wants to merge 1 commit intoruby:mainfrom
ledsun:codex/browser-script-data-env

Conversation

@ledsun
Copy link
Copy Markdown
Contributor

@ledsun ledsun commented May 5, 2026

This change is intended to meet the expectations of #645 (comment).

Summary

  • Add browser.script.iife.js support for passing Ruby VM environment variables via a data-env attribute
  • Add a browser Ruby::Box example that enables RUBY_BOX=1 through data-env
  • Cover data-env and the Ruby::Box example with Playwright tests, and document data-env in the cheat sheet

@ledsun ledsun changed the title [codex] Add browser data-env support Enable easy passing of environment variables in browser.script.iffe.js May 5, 2026
@ledsun ledsun force-pushed the codex/browser-script-data-env branch from a1bcd64 to 21828db Compare May 5, 2026 08:46
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