René's URL Explorer Experiment


Title: fix: copy Vite output for production builds by tannerlinsley · Pull Request #6083 · NativeScript/nativescript-cli · GitHub

Open Graph Title: fix: copy Vite output for production builds by tannerlinsley · Pull Request #6083 · NativeScript/nativescript-cli

X Title: fix: copy Vite output for production builds by tannerlinsley · Pull Request #6083 · NativeScript/nativescript-cli

Description: Problem Vite writes non-watch builds to .ns-vite-build, but the CLI only copied that output into the native app directory from the watch-mode IPC handler. ns build ios and ns build android could therefore package stale or missing JavaScript. Fix share Vite source/destination path resolution between watch and non-watch builds copy a successful non-watch Vite build before resolving preparation fail the production build when the Vite output is missing or cannot be copied verify the source exists before replacing the destination Validation npm test (1509 passing, 9 pending) release iOS simulator build; verified a unique production endpoint in the final .app bundle signed Android release build; verified a unique production endpoint in the final .apk bundle Summary by CodeRabbit Bug Fixes Vite builds now copy generated files to the native app destination immediately after successful non-watch builds. Improved handling of missing or failed Vite output copies, with errors surfaced when required. Destination directories are fully refreshed during Vite bundle copies to prevent stale files. Tests Added coverage for successful Vite output copying and copy failure handling.

Open Graph Description: Problem Vite writes non-watch builds to .ns-vite-build, but the CLI only copied that output into the native app directory from the watch-mode IPC handler. ns build ios and ns build android could th...

X Description: Problem Vite writes non-watch builds to .ns-vite-build, but the CLI only copied that output into the native app directory from the watch-mode IPC handler. ns build ios and ns build android could th...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6083

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:576b9e4f-dc50-c43f-ffeb-3e31991bb457
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD20A:B1E72:2CFF0F:3CAE28:6A616FFE
html-safe-noncef3e607cf34f3a6f6168978320e0f55e6a1178d7ea522d5aaa1843564caa7d4fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjBBOkIxRTcyOjJDRkYwRjozQ0FFMjg6NkE2MTZGRkUiLCJ2aXNpdG9yX2lkIjoiODk1MjU1OTE1NTAzMjQ1MzExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3e4a9d3c73988ebd5a54e9cf0e287dca3a2782ed684e0c5dbefcab21fd781d3e
hovercard-subject-tagpull_request:4102977683
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-cli/pull/6083/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:altProblem Vite writes non-watch builds to .ns-vite-build, but the CLI only copied that output into the native app directory from the watch-mode IPC handler. ns build ios and ns build android could th...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb05bb6314e7e93021a7b7dab54a85cbe48d821938e762c1dff815efd60699622
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
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
release94389bfdcd393b0a5a274aee94e8a9739d063fe5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6083/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6083%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-cli%2Fpull%2F6083%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-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6083/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6083/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6083/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6083/files
NativeScript https://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6083/files
Notifications https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Fork 204 https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Star 1.1k https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Code https://github.com/NativeScript/nativescript-cli
Issues 356 https://github.com/NativeScript/nativescript-cli/issues
Pull requests 17 https://github.com/NativeScript/nativescript-cli/pulls
Actions https://github.com/NativeScript/nativescript-cli/actions
Projects https://github.com/NativeScript/nativescript-cli/projects
Security and quality 0 https://github.com/NativeScript/nativescript-cli/security
Insights https://github.com/NativeScript/nativescript-cli/pulse
Code https://github.com/NativeScript/nativescript-cli
Issues https://github.com/NativeScript/nativescript-cli/issues
Pull requests https://github.com/NativeScript/nativescript-cli/pulls
Actions https://github.com/NativeScript/nativescript-cli/actions
Projects https://github.com/NativeScript/nativescript-cli/projects
Security and quality https://github.com/NativeScript/nativescript-cli/security
Insights https://github.com/NativeScript/nativescript-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%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-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
NativeScript:feat/vite-bundler-improvementshttps://github.com/NativeScript/nativescript-cli/tree/feat/vite-bundler-improvements
tannerlinsley:taren/copy-vite-production-bundlehttps://github.com/tannerlinsley/nativescript-cli/tree/taren/copy-vite-production-bundle
Conversation 3 https://github.com/NativeScript/nativescript-cli/pull/6083
Commits 1 https://github.com/NativeScript/nativescript-cli/pull/6083/commits
Checks 0 https://github.com/NativeScript/nativescript-cli/pull/6083/checks
Files changed 2 https://github.com/NativeScript/nativescript-cli/pull/6083/files
fix: copy Vite output for production builds https://github.com/NativeScript/nativescript-cli/pull/6083/files#top
Show all changes 1 commit https://github.com/NativeScript/nativescript-cli/pull/6083/files
8091c06 fix: copy Vite output for production builds tannerlinsley Jul 21, 2026 https://github.com/NativeScript/nativescript-cli/pull/6083/commits/8091c06e3fa52ca676523f6e8751ac07f3d4d0e8
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6083/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6083/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6083/files
bundler-compiler-service.ts https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
bundler-compiler-service.ts https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
lib/services/bundler/bundler-compiler-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
View file https://github.com/tannerlinsley/nativescript-cli/blob/8091c06e3fa52ca676523f6e8751ac07f3d4d0e8/lib/services/bundler/bundler-compiler-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6083/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-8521a4dbe0da9ef2aed7d98bcabac41a7465f50c76019e2b539c9d214c4bf310
test/services/bundler/bundler-compiler-service.tshttps://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
View file https://github.com/tannerlinsley/nativescript-cli/blob/8091c06e3fa52ca676523f6e8751ac07f3d4d0e8/test/services/bundler/bundler-compiler-service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6083/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
https://github.com/NativeScript/nativescript-cli/pull/6083/files#diff-4aff644393b3f3d7396dc660ba7b7accf6c9ef623274ae52cf7ea04e9b5c774f
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.