Skip to content

Commit 2432b86

Browse files
add another comment
1 parent e8aeb57 commit 2432b86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/dummy/config/webpack/webpackConfig.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const serverWebpackConfig = require('./serverWebpackConfig');
44
const webpackConfig = (envSpecific) => {
55
const clientConfig = clientWebpackConfig();
66
const serverConfig = serverWebpackConfig();
7+
// The stream module is used on the server side for streaming server side rendering.
8+
// It's not needed on the client side, so we can remove it.
79
clientConfig.resolve.fallback = { stream: false };
810
// If you are using "node" target in serverWebpackConfig.js, you can remove the fallback configuration below
911
// since Node.js has built-in stream support.

0 commit comments

Comments
 (0)