diff options
author | bobzel <zzzman@gmail.com> | 2022-03-04 15:19:09 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-03-04 15:19:09 -0500 |
commit | ff2602bb598b6e82330a9a0b2453e44d70c94c39 (patch) | |
tree | 37a0106c1c23c1bd1c0509cc1e2ebe4e9f703b2b /webpack.config.js | |
parent | c015dc3b76ec30e9d7057ee558787e59033af270 (diff) |
removed pseudo Doc type system. playing with hot reloading.
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() { |