aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-03-04 15:19:09 -0500
committerbobzel <zzzman@gmail.com>2022-03-04 15:19:09 -0500
commitff2602bb598b6e82330a9a0b2453e44d70c94c39 (patch)
tree37a0106c1c23c1bd1c0509cc1e2ebe4e9f703b2b /webpack.config.js
parentc015dc3b76ec30e9d7057ee558787e59033af270 (diff)
removed pseudo Doc type system. playing with hot reloading.
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js3
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() {