Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrap injected script with iife #196

Merged
merged 1 commit into from Jun 21, 2023
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Jun 21, 2023

Currently, we are leaking all local variables to the global namespace

Screenshot 2023-06-21 at 10 56 54

@netlify
Copy link

netlify bot commented Jun 21, 2023

Deploy Preview for nuxt-color-mode canceled.

Name Link
🔨 Latest commit b5966c4
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-color-mode/deploys/6492bb663d30e90008c296a6

@antfu antfu merged commit b03873b into nuxt-modules:master Jun 21, 2023
11 checks passed
Hossein-Mirazimi pushed a commit to Hossein-Mirazimi/color-mode that referenced this pull request Aug 7, 2023
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.

None yet

1 participant