Skip to content

perf(cli): lazy-load setup and staged commands - #163

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/lazy-load-setup-staged
Aug 3, 2026
Merged

perf(cli): lazy-load setup and staged commands#163
chenjiahan merged 1 commit into
mainfrom
chenjiahan/lazy-load-setup-staged

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Rstack currently loads the setup and staged command implementations for every CLI invocation. This PR loads both commands only when selected and keeps lint-staged bundled into the fully minified staged chunk, avoiding a second dynamic-import boundary.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: c92d58c
Status: ✅  Deploy successful!
Preview URL: https://e61b2602.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-lazy-load-setup-s.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 6827284 into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/lazy-load-setup-staged branch August 3, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant