Skip to content

Commit

Permalink
fix: exclude node_modules from being processed by react-refresh (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeraS authored Nov 15, 2023
1 parent 567f416 commit 2d25374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ function configurePlugins(options: HelperOptions): webpack.Configuration['plugin
plugins.push(
new ReactRefreshWebpackPlugin({
overlay: {sockPath: webSocketPath},
exclude: /\.worker\.[jt]sx?$/,
exclude: [/node_modules/, /\.worker\.[jt]sx?$/],
}),
);
}
Expand Down

0 comments on commit 2d25374

Please sign in to comment.