diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index 3fd00bcf3..02d91c575 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,6 +3,8 @@ var webpack = require('webpack'); const CopyWebpackPlugin = require("copy-webpack-plugin"); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin"); +const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin'); + const plugins = [ new CopyWebpackPlugin([{ @@ -20,6 +22,7 @@ const plugins = [ new webpack.ProvidePlugin({ Buffer: ['buffer', 'Buffer'], }), new webpack.ProvidePlugin({ process: 'process/browser', }), new webpack.HotModuleReplacementPlugin(), + //new ReactRefreshWebpackPlugin(), ]; function transferEnvironmentVariables() { |