René's URL Explorer Experiment


Title: Server runtime optimizer turns on prebundling in Vite's unused Node ssr environment · Issue #412 · voidzero-dev/void · GitHub

Open Graph Title: Server runtime optimizer turns on prebundling in Vite's unused Node ssr environment · Issue #412 · voidzero-dev/void

X Title: Server runtime optimizer turns on prebundling in Vite's unused Node ssr environment · Issue #412 · voidzero-dev/void

Description: Summary In apps where Void owns the workerd runtime, #407's optimizeDeps.include: ['void > email-validator'] goes to every non-client environment. In default (no-framework) mode that includes Vite's built-in Node ssr environment, which t...

Open Graph Description: Summary In apps where Void owns the workerd runtime, #407's optimizeDeps.include: ['void > email-validator'] goes to every non-client environment. In default (no-framework) mode that includes Vite'...

X Description: Summary In apps where Void owns the workerd runtime, #407's optimizeDeps.include: ['void > email-validator'] goes to every non-client environment. In default (no-framework) mode that...

Opengraph URL: https://github.com/voidzero-dev/void/issues/412

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Server runtime optimizer turns on prebundling in Vite's unused Node ssr environment","articleBody":"## Summary\n\nIn apps where Void owns the workerd runtime, #407's `optimizeDeps.include: ['void > email-validator']` goes to every non-client environment. In default (no-framework) mode that includes Vite's built-in Node `ssr` environment, which these apps never use, because the app runs in `void_worker`.\n\n## Cause\n\nVite turns off the dep optimizer for server environments only when `noDiscovery && !include.length`. A non-empty include therefore starts an optimizer for `ssr`, and `DevEnvironment.listen()` waits for it to finish. The result is an extra optimizer pass at dev startup and an extra `node_modules/.vite/deps_ssr` cache directory.\n\nThis contradicts the comment in `createServerRuntimeOptimizerPlugin`, which says forcing an include on a Node environment \"turns on SSR prebundling the framework did not ask for\".\n\nImpact is small: nothing breaks. React pages mode already turns on the `ssr` optimizer, so this mainly affects other no-framework apps.\n\n## Reproduction\n\nOn `playground/spa` (or any API-only app), run `rm -rf node_modules/.vite && vp dev`. `node_modules/.vite/deps_ssr/_metadata.json` now exists and lists `void > email-validator`. Before #407 there was no `deps_ssr`.\n\n## Suggested fix\n\nAdd the include only to the environments the Cloudflare plugin runs in workerd: `void_worker` in default mode, the configured `viteEnvironment` and its child environments for class-a frameworks, and auxiliary workers. Every other non-client environment keeps just `exclude: ['void']`. Add a unit case asserting the default-mode `ssr` environment resolves to `{ optimizeDeps: { exclude: ['void'] } }`.\n","author":{"url":"https://github.com/Brooooooklyn","@type":"Person","name":"Brooooooklyn"},"datePublished":"2026-10-12T10:11:10Z","url":"https://github.com/voidzero-dev/void/issues/412"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:20e908e1-b596-35d2-f0aa-e151be1aaba4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB264:31222B:C5BF:10B8D:6AFBA417
html-safe-nonce3d40fd4a9f8dc3c8058156e148d553626b450f2aece50183496a120e79915ddd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjY0OjMxMjIyQjpDNUJGOjEwQjhEOjZBRkJBNDE3IiwidmlzaXRvcl9pZCI6IjU5MzQzNjYxNjczMzMwNTM0NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc4826217f3fa5922503c37f77083fe60ab094d88ab3ad253d3d1aa29471df81d
hovercard-subject-tagissue:5811985996
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/412/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8cf75872179add31f259771204aff1691309059f5e01ecfdb1db76b844946a09/voidzero-dev/void/issues/412
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8cf75872179add31f259771204aff1691309059f5e01ecfdb1db76b844946a09/voidzero-dev/void/issues/412
og:image:altSummary In apps where Void owns the workerd runtime, #407's optimizeDeps.include: ['void > email-validator'] goes to every non-client environment. In default (no-framework) mode that includes Vite'...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBrooooooklyn
hostnamegithub.com
expected-hostnamegithub.com
None03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf
turbo-cache-controlno-preview
go-importgithub.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git
octolytics-dimension-user_id149750581
octolytics-dimension-user_loginvoidzero-dev
octolytics-dimension-repository_id1164437080
octolytics-dimension-repository_nwovoidzero-dev/void
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1164437080
octolytics-dimension-repository_network_root_nwovoidzero-dev/void
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f00295b9a35dca977890ab83b22788ab211dc8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/voidzero-dev/void/issues/412#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F412
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F412
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=voidzero-dev%2Fvoid
Reloadhttps://github.com/voidzero-dev/void/issues/412
Reloadhttps://github.com/voidzero-dev/void/issues/412
Reloadhttps://github.com/voidzero-dev/void/issues/412
voidzero-devhttps://github.com/voidzero-dev
voidhttps://github.com/voidzero-dev/void
Codehttps://github.com/voidzero-dev/void
Issues29 (29)https://github.com/voidzero-dev/void/issues
Pull requests9 (9)https://github.com/voidzero-dev/void/pulls
Discussionshttps://github.com/voidzero-dev/void/discussions
Actionshttps://github.com/voidzero-dev/void/actions
Security and qualityhttps://github.com/voidzero-dev/void/security
Insightshttps://github.com/voidzero-dev/void/pulse
https://github.com/voidzero-dev/void
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/412
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/412
#413https://github.com/voidzero-dev/void/pull/413
Server runtime optimizer turns on prebundling in Vite's unused Node ssr environmenthttps://github.com/voidzero-dev/void/issues/412#top
#413https://github.com/voidzero-dev/void/pull/413
bugSomething isn't workinghttps://github.com/voidzero-dev/void/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/Brooooooklyn
Brooooooklynhttps://github.com/Brooooooklyn
on Oct 12, 2026https://github.com/voidzero-dev/void/issues/412#issue-5811985996
#407https://github.com/voidzero-dev/void/pull/407
#407https://github.com/voidzero-dev/void/pull/407
Brooooooklynhttps://github.com/Brooooooklyn
bugSomething isn't workinghttps://github.com/voidzero-dev/void/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 12, 2026https://github.com/voidzero-dev/void/issues/412#event-33037501554
Brooooooklynhttps://github.com/Brooooooklyn
on Oct 13, 2026https://github.com/voidzero-dev/void/issues/412#event-33150065928
fix(void): prebundle void's CommonJS deps wherever workerd runs themhttps://github.com/voidzero-dev/void/commit/8c967b4cc1382087332031527b0cb2ecc39c106b
8c967b4https://github.com/voidzero-dev/void/commit/8c967b4cc1382087332031527b0cb2ecc39c106b
fix(void): prebundle void's CommonJS deps wherever workerd runs themhttps://github.com/voidzero-dev/void/commit/40dc6e8eb6799800bc0cfb11cec1e9dcf39f10c0
40dc6e8https://github.com/voidzero-dev/void/commit/40dc6e8eb6799800bc0cfb11cec1e9dcf39f10c0
Brooooooklynhttps://github.com/Brooooooklyn
completedhttps://github.com/voidzero-dev/void/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#413https://github.com/voidzero-dev/void/pull/413
on Oct 14, 2026https://github.com/voidzero-dev/void/issues/412#event-33218436722
Sign up for freehttps://github.com/signup?return_to=https://github.com/voidzero-dev/void/issues/412
Sign in to commenthttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/412
bugSomething isn't workinghttps://github.com/voidzero-dev/void/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.