Merged
Conversation
18945c4 to
18bb788
Compare
Add `customBuildApp` option that allows downstream frameworks to skip the default buildApp orchestration and implement their own build order using the exposed `builder.rsc` API. When `customBuildApp: true`: - Default 4/5-step build orchestration is skipped - `builder.rsc.manager` provides access to RscPluginManager - `builder.rsc.writeAssetsManifest()` writes manifest to appropriate environments Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18bb788 to
dc239d6
Compare
commit: |
- Resolved conflict by keeping nested outdir handling from main - Updated to use manager.writeAssetsManifest() instead of standalone function
customBuildApp option
|
Pretty cool about this flexibility! Also makes it more transparent. Btw, looking at this config I'm a little unclear on whether |
Contributor
Author
If I remember correctly, one implies another but forgot which is which, so just went with setting both 😅 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Sorry if anyone got pinged by this PR. It wasn't intended and AI did it 😓)
Summary
This PR adds a
customBuildAppoption that allows downstream frameworks to skip the defaultbuildApporchestration and implement their own build order.Motivation
The RSC plugin currently has a hardcoded build pipeline:
rsc -> ssr -> rsc -> client -> ssr(5 steps with 2 scan build)With a new API, it allows taking over build pipeline to match framework's need. For example, following is from No SSR example:
🤖 Generated with Claude Code