Skip to content

Commit 33afd1a

Browse files
committed
fix custom webpack devServer config
1 parent 38044f3 commit 33afd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpackDevServer.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const requireFile = require('./utils/requireFile');
110110
requireFile(paths.customWebpackDevServerConfig, rewiredConfig => {
111111
module.exports = function(proxy, allowedHost) {
112112
const config = defaultConfig(proxy, allowedHost);
113-
rewiredConfig(config, proxy, allowedHost);
113+
return rewiredConfig(config, proxy, allowedHost);
114114
};
115115
});
116116
// @remove-on-eject-end

0 commit comments

Comments
 (0)