René's URL Explorer Experiment


Title: fix(vite): remove browser preload probe from native bundles by tannerlinsley · Pull Request #11311 · NativeScript/NativeScript · GitHub

Open Graph Title: fix(vite): remove browser preload probe from native bundles by tannerlinsley · Pull Request #11311 · NativeScript/NativeScript

X Title: fix(vite): remove browser preload probe from native bundles by tannerlinsley · Pull Request #11311 · NativeScript/NativeScript

Description: Summary remove Vite's complete browser-only preload preamble when simplifying __vitePreload centralize the bundle transform so relative dynamic imports and preload cleanup are independently testable prevent document.createElement("link") from running in unminified NativeScript bundles Vite still emits scriptRel, assetsURL, and seen alongside __vitePreload when build.modulePreload is disabled. The existing plugin replaced only the function body, so scriptRel probed the DOM at startup and produced [UNDOM-NG] Element type 'link' is not registered. in development builds. Validation npx nx run vite:test --outputStyle=stream (78 tests) npx eslint --no-ignore packages/vite/helpers/dynamic-import-plugin.ts packages/vite/helpers/dynamic-import-plugin.spec.ts npx nx run vite:build --outputStyle=stream real NativeScript Android API 35 build/install and end-to-end navigation against a TanStack Start application generated .mjs inspection and device logs confirm the browser preload probe and runtime warning are gone The repository's vite:lint target currently exits because all configured paths are ignored; direct ESLint over both changed files passes.

Open Graph Description: Summary remove Vite's complete browser-only preload preamble when simplifying __vitePreload centralize the bundle transform so relative dynamic imports and preload cleanup are independently te...

X Description: Summary remove Vite's complete browser-only preload preamble when simplifying __vitePreload centralize the bundle transform so relative dynamic imports and preload cleanup are independentl...

Opengraph URL: https://github.com/NativeScript/NativeScript/pull/11311

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1bafa107-73db-7385-1c33-ca66666f421d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id985C:1E48FE:108A81:168C52:6A625C72
html-safe-nonce428716547d1466d687b6c62e576f120ac0bba7efa90fa94da50f9374fa64b73f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODVDOjFFNDhGRToxMDhBODE6MTY4QzUyOjZBNjI1QzcyIiwidmlzaXRvcl9pZCI6IjI3MTcxNTA4MjAzODc5MzczOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac92736360c6b2aa747a52b874a289056136658014dbd005daca485d0661321fc5
hovercard-subject-tagpull_request:4103079013
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/11311/files
twitter:imagehttps://avatars.githubusercontent.com/u/5580297?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5580297?s=400&v=4
og:image:altSummary remove Vite's complete browser-only preload preamble when simplifying __vitePreload centralize the bundle transform so relative dynamic imports and preload cleanup are independently te...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None6d5cd56dfa7e7ed6718ba879da3c0d884bd8b5fecd3883b5f00dcb66b8b8680f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released28abcf30a4025dfeef7673e1509edbc5d402c97
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/pull/11311/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F11311%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F11311%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/pull/11311/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/11311/files
Reloadhttps://github.com/NativeScript/NativeScript/pull/11311/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11311/files
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11311/files
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.6k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 771 https://github.com/NativeScript/NativeScript/issues
Pull requests 66 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security and quality 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security and quality https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
NativeScript:mainhttps://github.com/NativeScript/NativeScript/tree/main
tannerlinsley:taren/remove-vite-browser-preload-probehttps://github.com/tannerlinsley/NativeScript/tree/taren/remove-vite-browser-preload-probe
Conversation 2 https://github.com/NativeScript/NativeScript/pull/11311
Commits 1 https://github.com/NativeScript/NativeScript/pull/11311/commits
Checks 3 https://github.com/NativeScript/NativeScript/pull/11311/checks
Files changed 2 https://github.com/NativeScript/NativeScript/pull/11311/files
fix(vite): remove browser preload probe from native bundles https://github.com/NativeScript/NativeScript/pull/11311/files#top
Show all changes 1 commit https://github.com/NativeScript/NativeScript/pull/11311/files
0c078d8 fix(vite): remove browser preload probe tannerlinsley Jul 21, 2026 https://github.com/NativeScript/NativeScript/pull/11311/commits/0c078d8155bb15b644a04a78c61337d05aa843eb
Clear filters https://github.com/NativeScript/NativeScript/pull/11311/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11311/files
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11311/files
dynamic-import-plugin.spec.ts https://github.com/NativeScript/NativeScript/pull/11311/files#diff-576f75c78685c741847488f1b7100b00cd5f3ca9dfad5109d1572d72f4bee0d7
dynamic-import-plugin.ts https://github.com/NativeScript/NativeScript/pull/11311/files#diff-dacab0ca083d231775fd823f0fecc48512684e7edd254532139a52e964410be9
packages/vite/helpers/dynamic-import-plugin.spec.tshttps://github.com/NativeScript/NativeScript/pull/11311/files#diff-576f75c78685c741847488f1b7100b00cd5f3ca9dfad5109d1572d72f4bee0d7
View file https://github.com/tannerlinsley/NativeScript/blob/0c078d8155bb15b644a04a78c61337d05aa843eb/packages/vite/helpers/dynamic-import-plugin.spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/11311/{{ revealButtonHref }}
packages/vite/helpers/dynamic-import-plugin.tshttps://github.com/NativeScript/NativeScript/pull/11311/files#diff-dacab0ca083d231775fd823f0fecc48512684e7edd254532139a52e964410be9
View file https://github.com/tannerlinsley/NativeScript/blob/0c078d8155bb15b644a04a78c61337d05aa843eb/packages/vite/helpers/dynamic-import-plugin.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/NativeScript/pull/11311/{{ revealButtonHref }}
https://github.com/NativeScript/NativeScript/pull/11311/files#diff-dacab0ca083d231775fd823f0fecc48512684e7edd254532139a52e964410be9
Please reload this pagehttps://github.com/NativeScript/NativeScript/pull/11311/files
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.