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: do not access document in /@vite/client
when not defined
#16318
Conversation
Run & review this pull request in StackBlitz Codeflow. |
/@vite/client
when not defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a test and confirmed this fixes #16277
/ecosystem-ci run |
📝 Ran ecosystem CI on ✅ analogjs, astro, histoire, ladle, laravel, marko, nuxt, previewjs, quasar, qwik, rakkas, remix, sveltekit, unocss, vike, vite-plugin-pwa, vite-plugin-react, vite-plugin-react-pages, vite-plugin-react-swc, vite-plugin-svelte, vite-plugin-vue, vite-setup-catalogue, vitepress, vitest |
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Description
When using the vite-plugin-web-extension plugin for chrome extension development, the
background
requestshttp:/ /localhost:5173/@vite/client
,background
does not existdocument
.