Skip to content

fix: guard virtual widget module when widget is disabled#14

Merged
rubenmarcus merged 1 commit intomainfrom
fix/widget-disabled-guard
Mar 17, 2026
Merged

fix: guard virtual widget module when widget is disabled#14
rubenmarcus merged 1 commit intomainfrom
fix/widget-disabled-guard

Conversation

@rubenmarcus
Copy link
Member

When widget.enabled is false, the virtual:aeo-widget module now returns a no-op comment instead of initializing AeoWidget. This prevents the widget from rendering if the module is resolved via cache or HMR.

Bumps version to 0.0.10.

When widget.enabled is false, the virtual:aeo-widget module now returns
a no-op instead of initializing AeoWidget. Prevents the widget from
rendering if the module is resolved via cache or HMR.

Amp-Thread-ID: https://ampcode.com/threads/T-019cf910-edf0-7568-8b1f-8e1d4229224e
Co-authored-by: Amp <amp@ampcode.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel
Copy link

vercel bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
aeo-js Ready Ready Preview, Comment Mar 17, 2026 0:25am

Request Review

@rubenmarcus rubenmarcus merged commit 977fcb8 into main Mar 17, 2026
3 checks passed
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