Skip to content

Commit 305be68

Browse files
committed
test(rsc-mf): disable remote web splitChunks for federated chunks
1 parent 60a2d88 commit 305be68

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/integration/rsc-mf/remote/modern.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default defineConfig({
4848
.test(/src[\\/]components[\\/].*\.[tj]sx?$/)
4949
.layer('react-server-components');
5050
} else {
51+
chain.optimization.splitChunks(false);
5152
chain.output.publicPath(`http://127.0.0.1:${remotePort}/`);
5253
}
5354

0 commit comments

Comments
 (0)