Skip to content

perf(fmt): load plugin resolver on demand - #164

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/lazy-load-fmt-plugin-resolver
Aug 3, 2026
Merged

perf(fmt): load plugin resolver on demand#164
chenjiahan merged 1 commit into
mainfrom
chenjiahan/lazy-load-fmt-plugin-resolver

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Formatting without third-party plugins currently loads the plugin resolver and its import-meta-resolve dependency. This PR resolves per-file options first and loads the resolver only when a discovered file actually uses plugins, keeping unmatched plugin overrides off the common path.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef41cbb
Status: ✅  Deploy successful!
Preview URL: https://97a27d95.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-lazy-load-fmt-plu.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan force-pushed the chenjiahan/lazy-load-fmt-plugin-resolver branch from bd8c957 to ef41cbb Compare August 3, 2026 14:12
@chenjiahan
chenjiahan merged commit 68c6f25 into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/lazy-load-fmt-plugin-resolver branch August 3, 2026 14:15
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