René's URL Explorer Experiment


Title: feat: use auto config loader with bundled jiti by chenjiahan · Pull Request #565 · rstackjs/rstack-cli · GitHub

Open Graph Title: feat: use auto config loader with bundled jiti by chenjiahan · Pull Request #565 · rstackjs/rstack-cli

X Title: feat: use auto config loader with bundled jiti by chenjiahan · Pull Request #565 · rstackjs/rstack-cli

Description: Motivation Rstack currently requires native config loading, which rejects TypeScript syntax such as enums. Allow configs to fall back to the jiti bundled with Rsbuild. Changes Register a lazy jiti importer and switch the shared config loader to auto. Before each jiti attempt, discard definitions from the failed native attempt in the active config session so they do not cause duplicate-definition errors. Duplicate definitions within a single attempt remain errors, and concurrent config sessions remain isolated. Add coverage for unsupported TypeScript syntax and repeated fallback after partial definitions. Build, native build, lint/type/format checks, and the full local suite pass (427 passed, 1 skipped). The declared Node.js support range is unchanged. Config-dependency tracking on the jiti path remains a follow-up: it currently returns no dependencies. Resetting registered definitions does not undo other side effects from config execution.

Open Graph Description: Motivation Rstack currently requires native config loading, which rejects TypeScript syntax such as enums. Allow configs to fall back to the jiti bundled with Rsbuild. Changes Register a lazy jiti ...

X Description: Motivation Rstack currently requires native config loading, which rejects TypeScript syntax such as enums. Allow configs to fall back to the jiti bundled with Rsbuild. Changes Register a lazy jiti ...

Opengraph URL: https://github.com/rstackjs/rstack-cli/pull/565

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a0f1a4ea-195b-2c25-32ee-7676f2f59bf7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD942:267F1F:EB865F:13DCD44:6AEC1E83
html-safe-nonce907c3816226080eebf4561fc60b73b5e9d2c7bb58f5dd1dc79a0b287cdee1bf5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQyOjI2N0YxRjpFQjg2NUY6MTNEQ0Q0NDo2QUVDMUU4MyIsInZpc2l0b3JfaWQiOiIxMzc2Mzg0OTc4MzE5NTgwODAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacefa3c2be9dd17129da4b2c84bbc8f5a008ddb729948ca786762609cccd39dd3f
hovercard-subject-tagpull_request:4842358637
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/rstackjs/rstack-cli/pull/565/files
twitter:imagehttps://avatars.githubusercontent.com/u/7237365?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7237365?s=400&v=4
og:image:altMotivation Rstack currently requires native config loading, which rejects TypeScript syntax such as enums. Allow configs to fall back to the jiti bundled with Rsbuild. Changes Register a lazy jiti ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned063d52022f5f270ef55a70761d126c8085d492d3c251084b07781784c02dad4
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/rstackjs/rstack-cli git https://github.com/rstackjs/rstack-cli.git
octolytics-dimension-user_id129049372
octolytics-dimension-user_loginrstackjs
octolytics-dimension-repository_id1138027854
octolytics-dimension-repository_nworstackjs/rstack-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1138027854
octolytics-dimension-repository_network_root_nworstackjs/rstack-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
release56e59340194011ba3cb6809acfa979ccbd174288
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/rstackjs/rstack-cli/pull/565/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-cli%2Fpull%2F565%2Ffiles
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%2Frstackjs%2Frstack-cli%2Fpull%2F565%2Ffiles
Sign uphttps://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=rstackjs%2Frstack-cli
Reloadhttps://github.com/rstackjs/rstack-cli/pull/565/files
Reloadhttps://github.com/rstackjs/rstack-cli/pull/565/files
Reloadhttps://github.com/rstackjs/rstack-cli/pull/565/files
rstackjshttps://github.com/rstackjs
rstack-clihttps://github.com/rstackjs/rstack-cli
Codehttps://github.com/rstackjs/rstack-cli
Issues3 (3)https://github.com/rstackjs/rstack-cli/issues
Pull requests1 (1)https://github.com/rstackjs/rstack-cli/pulls
Discussionshttps://github.com/rstackjs/rstack-cli/discussions
Actionshttps://github.com/rstackjs/rstack-cli/actions
Projectshttps://github.com/rstackjs/rstack-cli/projects
Security and qualityhttps://github.com/rstackjs/rstack-cli/security
Insightshttps://github.com/rstackjs/rstack-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Frstackjs%2Frstack-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Frstackjs%2Frstack-cli%2Fissues%2Fnew%2Fchoose
chenjiahanhttps://github.com/chenjiahan
mainhttps://github.com/rstackjs/rstack-cli/tree/main
chenjiahan/feat-auto-config-loaderhttps://github.com/rstackjs/rstack-cli/tree/chenjiahan/feat-auto-config-loader
Conversation 5 https://github.com/rstackjs/rstack-cli/pull/565
Commits 3 https://github.com/rstackjs/rstack-cli/pull/565/commits
Checks 5 https://github.com/rstackjs/rstack-cli/pull/565/checks
Files changed https://github.com/rstackjs/rstack-cli/pull/565/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/565/files
feat: use auto config loader with bundled jiti https://github.com/rstackjs/rstack-cli/pull/565/files#top
Show all changes 3 commits https://github.com/rstackjs/rstack-cli/pull/565/files
9454692 feat: use auto config loader with bundled jiti chenjiahan Oct 13, 2026 https://github.com/rstackjs/rstack-cli/pull/565/commits/94546924b8e2868763cd91133931cc43c235043d
0cc8e0b fix: clear partial config definitions before jiti fallback chenjiahan Oct 13, 2026 https://github.com/rstackjs/rstack-cli/pull/565/commits/0cc8e0b18128e8e171194a45e6b38e6a0c71f9b9
f930d78 test: clarify repeated jiti fallback test title chenjiahan Oct 13, 2026 https://github.com/rstackjs/rstack-cli/pull/565/commits/f930d78a0c746050cc96fd35cb1e21e8014f97cd
Clear filters https://github.com/rstackjs/rstack-cli/pull/565/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/565/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/565/files
config.ts https://github.com/rstackjs/rstack-cli/pull/565/files#diff-56cb682bbca3cc1d4f4dccec2feef18640fbe2307c696e5486e813ef96fac871
fallback.config.ts https://github.com/rstackjs/rstack-cli/pull/565/files#diff-034f181286f972c46300ea854084c42c544d1863978946634c73025bb96851ef
index.test.ts https://github.com/rstackjs/rstack-cli/pull/565/files#diff-e583b438b27b4b3265bc62779bbb7f9aa228526f9bd3c92c4909fde91b8936ee
jiti.config.ts https://github.com/rstackjs/rstack-cli/pull/565/files#diff-8f6ee09f05dae717bbe5ada740508ce49ce95e22df2844bf1f22d23c5e18d0c2
packages/rstack/src/config.tshttps://github.com/rstackjs/rstack-cli/pull/565/files#diff-56cb682bbca3cc1d4f4dccec2feef18640fbe2307c696e5486e813ef96fac871
View file https://github.com/rstackjs/rstack-cli/blob/f930d78a0c746050cc96fd35cb1e21e8014f97cd/packages/rstack/src/config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/565/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/565/files#diff-56cb682bbca3cc1d4f4dccec2feef18640fbe2307c696e5486e813ef96fac871
https://github.com/rstackjs/rstack-cli/pull/565/files#diff-56cb682bbca3cc1d4f4dccec2feef18640fbe2307c696e5486e813ef96fac871
https://github.com/rstackjs/rstack-cli/pull/565/files#diff-56cb682bbca3cc1d4f4dccec2feef18640fbe2307c696e5486e813ef96fac871
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/565/files
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/565/files
https://github.com/rstackjs/rstack-cli/pull/565/files#diff-56cb682bbca3cc1d4f4dccec2feef18640fbe2307c696e5486e813ef96fac871
packages/rstack/tests/config/load-config/fallback.config.tshttps://github.com/rstackjs/rstack-cli/pull/565/files#diff-034f181286f972c46300ea854084c42c544d1863978946634c73025bb96851ef
View file https://github.com/rstackjs/rstack-cli/blob/f930d78a0c746050cc96fd35cb1e21e8014f97cd/packages/rstack/tests/config/load-config/fallback.config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/565/{{ revealButtonHref }}
packages/rstack/tests/config/load-config/index.test.tshttps://github.com/rstackjs/rstack-cli/pull/565/files#diff-e583b438b27b4b3265bc62779bbb7f9aa228526f9bd3c92c4909fde91b8936ee
View file https://github.com/rstackjs/rstack-cli/blob/f930d78a0c746050cc96fd35cb1e21e8014f97cd/packages/rstack/tests/config/load-config/index.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/565/{{ revealButtonHref }}
https://github.com/rstackjs/rstack-cli/pull/565/files#diff-e583b438b27b4b3265bc62779bbb7f9aa228526f9bd3c92c4909fde91b8936ee
https://github.com/rstackjs/rstack-cli/pull/565/files#diff-e583b438b27b4b3265bc62779bbb7f9aa228526f9bd3c92c4909fde91b8936ee
packages/rstack/tests/config/load-config/jiti.config.tshttps://github.com/rstackjs/rstack-cli/pull/565/files#diff-8f6ee09f05dae717bbe5ada740508ce49ce95e22df2844bf1f22d23c5e18d0c2
View file https://github.com/rstackjs/rstack-cli/blob/f930d78a0c746050cc96fd35cb1e21e8014f97cd/packages/rstack/tests/config/load-config/jiti.config.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/rstackjs/rstack-cli/pull/565/{{ revealButtonHref }}
Please reload this pagehttps://github.com/rstackjs/rstack-cli/pull/565/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.