You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
project option should accept string | string[] across all framework SDKs #21069
The shared BuildTimeOptionsBase.project is still typed as string, although the bundler plugins support string | string[]. Passing multiple projects causes a TypeScript error.
Required changes on develop:
Widen project in packages/core/src/build-time-plugins/buildTimeOptionsBase.ts. Astro, Nuxt, SvelteKit, SolidStart, Remix, React Router, Nitro and TanStack Start React inherit this type.
Adapt packages/react-router/src/vite/buildEnd/handleOnBuildEnd.ts to create releases and upload source maps across multiple projects. It currently forwards project to the CLI SDK, which accepts a single string.
Add type regression coverage for arrays and React Router coverage for multiple projects.
Next.js already supports arrays via #21067. Deprecated options are outside the scope of this fix.
changed the title [-]`project` option type should be `string | string[]` across all framework SDKs[/-][+]`project` option should accept `string | string[]` across all framework SDKs[/+]on Oct 19, 2026
Activity
linear-code commentedon May 20, 2026
JS-2571
feat(nextjs): Align build options with BuildTimeOptionsBase (#23563)
[-]`project` option type should be `string | string[]` across all framework SDKs[/-][+]`project` option should accept `string | string[]` across all framework SDKs[/+]fix(core): allow project arrays in framework build options (getsentry…
github-actions commentedon Oct 28, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25534, which was included in the 11.10.0 release.