Skip to content

Commit

Permalink
comment out react refresh plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
raclim committed Sep 11, 2023
1 parent d27e259 commit 2822066
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions webpack/config.dev.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const webpack = require('webpack');
const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
// const ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');

if (process.env.NODE_ENV === 'development') {
Expand Down Expand Up @@ -40,11 +40,11 @@ module.exports = {
extensions: ['js', 'jsx']
}),
new webpack.HotModuleReplacementPlugin(),
new ReactRefreshPlugin({
overlay: {
sockIntegration: 'whm',
}
}),
// new ReactRefreshPlugin({
// overlay: {
// sockIntegration: 'whm',
// }
// }),
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('development')
Expand Down

0 comments on commit 2822066

Please sign in to comment.