Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rsc): only use
web/src/entries.ts
as the rscBuildAnalyze
entr…
…y point (#10218) Right now `rscBuildAnalyze` scans three entry points and ~1600 files for `'use client'` and `'use server'` directives. ```js { entries: "~/redwood-app/web/src/entries.ts", "entry.server": "~/redwood-app/web/src/entry.server.tsx", Document: "~/redwood-app/web/src/Document.tsx", } ``` Checked with @Tobbe and the only entry point we actually need to scan is `web/src/entries.ts`. With this change, we only scan 267 files.
- Loading branch information