We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8aeb57 commit 2432b86Copy full SHA for 2432b86
spec/dummy/config/webpack/webpackConfig.js
@@ -4,6 +4,8 @@ const serverWebpackConfig = require('./serverWebpackConfig');
4
const webpackConfig = (envSpecific) => {
5
const clientConfig = clientWebpackConfig();
6
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.
9
clientConfig.resolve.fallback = { stream: false };
10
// If you are using "node" target in serverWebpackConfig.js, you can remove the fallback configuration below
11
// since Node.js has built-in stream support.
0 commit comments