René's URL Explorer Experiment


Title: Native deploy mishandles Wasm, text and data imports and package exports in framework Workers · Issue #539 · voidzero-dev/void · GitHub

Open Graph Title: Native deploy mishandles Wasm, text and data imports and package exports in framework Workers · Issue #539 · voidzero-dev/void

X Title: Native deploy mishandles Wasm, text and data imports and package exports in framework Workers · Issue #539 · voidzero-dev/void

Description: Problem void deploy --platform cloudflare bundles a framework's adapter Worker again before upload. That bundle handles two kinds of imports differently from @cloudflare/vite-plugin, so a Worker that builds with vp build can fail to depl...

Open Graph Description: Problem void deploy --platform cloudflare bundles a framework's adapter Worker again before upload. That bundle handles two kinds of imports differently from @cloudflare/vite-plugin, so a Worker th...

X Description: Problem void deploy --platform cloudflare bundles a framework's adapter Worker again before upload. That bundle handles two kinds of imports differently from @cloudflare/vite-plugin, so a Worke...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Native deploy mishandles Wasm, text and data imports and package exports in framework Workers","articleBody":"## Problem\n\n`void deploy --platform cloudflare` bundles a framework's adapter Worker again before upload. That bundle handles two kinds of imports differently from `@cloudflare/vite-plugin`, so a Worker that builds with `vp build` can fail to deploy or fail at runtime.\n\n**Wasm, text and data imports.** A SvelteKit Worker that imports `@resvg/resvg-wasm` fails in \"Preparing deployment\":\n\n```\nRolldown failed to resolve import \"wbg\" from \".../@resvg/resvg-wasm/index_bg.wasm\".\n```\n\n`.txt`, `.html`, `.sql` and `.bin` imports are parsed as JavaScript in the same way.\n\n**Package exports.** Dependencies resolve with browser conditions, so a package that ships both a `workerd` and a `browser` build gets the browser one. `decode-named-character-reference`, which micromark uses, then calls `document.createElement` when the module loads, and the deployed Worker fails with:\n\n```\nReferenceError: document is not defined\n```\n\n## Cause\n\n`prepareCfFrameworkBuildOutput` bundles the adapter's Worker entry with a plain Vite lib build (`prepareBundledBuildOutput`, `configFile: false`). That build has neither the Cloudflare Vite plugin's additional module rules nor Worker resolve conditions. `copyBundle` already maps `.wasm`, `.bin`, `.txt`, `.html` and `.sql` files to `wasm`, `data` and `text` modules, but the build never emits them.\n\n## Reproduction\n\nDeploy a framework app with `void deploy --platform cloudflare` whose adapter Worker either:\n\n- imports `./x.wasm`, `./x.txt` or `./x.bin`, or\n- imports a package whose `exports` list both `workerd` and `browser` builds.\n","author":{"url":"https://github.com/Pleasurecruise","@type":"Person","name":"Pleasurecruise"},"datePublished":"2026-10-21T21:59:41Z","url":"https://github.com/voidzero-dev/void/issues/539"}

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:8f4e15d2-9eff-a889-329c-4b106045d5ff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC4C:3A0CC0:1151F5:16D1F6:6AFBAFBF
html-safe-nonce96d083dffba863c34b76629a1b9af9b5bc87bb8c329048b3da47e2554da3d01e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzRDOjNBMENDMDoxMTUxRjU6MTZEMUY2OjZBRkJBRkJGIiwidmlzaXRvcl9pZCI6Ijc1MjQ1NjQzMjE0NTM3OTI2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd47699107d19f5d59fb74e538aec16205e87faabaa863b48f17a1f32544149ce
hovercard-subject-tagissue:5969223994
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/539/issue_layout
twitter:imagehttps://opengraph.githubassets.com/45961567bf7acae8832c2c88bd9f3ce7203432c6b5753d7302ac589f28b5a860/voidzero-dev/void/issues/539
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/45961567bf7acae8832c2c88bd9f3ce7203432c6b5753d7302ac589f28b5a860/voidzero-dev/void/issues/539
og:image:altProblem void deploy --platform cloudflare bundles a framework's adapter Worker again before upload. That bundle handles two kinds of imports differently from @cloudflare/vite-plugin, so a Worker th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePleasurecruise
hostnamegithub.com
expected-hostnamegithub.com
Nonee25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55
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
release08c8f17f9d27054a108b8b6254e405de0151f660
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/voidzero-dev/void/issues/539#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F539
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%2F539
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/539
Reloadhttps://github.com/voidzero-dev/void/issues/539
Reloadhttps://github.com/voidzero-dev/void/issues/539
voidzero-devhttps://github.com/voidzero-dev
voidhttps://github.com/voidzero-dev/void
Codehttps://github.com/voidzero-dev/void
Issues31 (31)https://github.com/voidzero-dev/void/issues
Pull requests10 (10)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/539
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/539
#540https://github.com/voidzero-dev/void/pull/540
Native deploy mishandles Wasm, text and data imports and package exports in framework Workershttps://github.com/voidzero-dev/void/issues/539#top
#540https://github.com/voidzero-dev/void/pull/540
https://github.com/Pleasurecruise
Pleasurecruisehttps://github.com/Pleasurecruise
on Oct 21, 2026https://github.com/voidzero-dev/void/issues/539#issue-5969223994
Brooooooklynhttps://github.com/Brooooooklyn
completedhttps://github.com/voidzero-dev/void/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#540https://github.com/voidzero-dev/void/pull/540
on Oct 22, 2026https://github.com/voidzero-dev/void/issues/539#event-33920584775
yangshunhttps://github.com/yangshun
on Oct 22, 2026https://github.com/voidzero-dev/void/issues/539#event-33928845056
fix(deploy): bundle framework Workers with Cloudflare module rules an…https://github.com/yangshun/void/commit/70c275dc34306daf39eaeb8028488f139a37e587
https://docs.github.com/articles/closing-issues-via-commit-messages
70c275dhttps://github.com/yangshun/void/commit/70c275dc34306daf39eaeb8028488f139a37e587
Sign up for freehttps://github.com/signup?return_to=https://github.com/voidzero-dev/void/issues/539
Sign in to commenthttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/539
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.