Skip to content

Commit a773447

Browse files
ihabadhamclaude
andcommitted
Document rscBundle parameter's Sub-PR 3 role
The parameter is unused until Sub-PR 3 wires rscWebpackConfig.js to call configureServer(true). Adding a short comment so it isn't mistaken for dead code during review. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 97ec444 commit a773447

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config/webpack/serverWebpackConfig.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ function extractLoader(rule, loaderName) {
1616
});
1717
}
1818

19+
// rscBundle: set to true in Sub-PR 3 for the RSC client-reference bundle,
20+
// which handles RSCWebpackPlugin(isServer: false) separately. Default
21+
// false builds the SSR bundle with RSCWebpackPlugin(isServer: true).
22+
// Follows the Pro dummy's `serverWebpackConfig(rscBundle)` pattern.
1923
const configureServer = (rscBundle = false) => {
2024
const bundler = getBundler();
2125

0 commit comments

Comments
 (0)