diff options
author | Vitaly Takmazov | 2022-11-05 19:07:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | 00ff146fb45b64aa3a4278c05e4a4c476152e2b4 (patch) | |
tree | ae65d63a1148dbe3390011ddbc84a831da160f80 /vnext/webpack.config.js | |
parent | 2c2f2527b37afe5194d7a6c09de712c2cb9da00e (diff) |
Drop broken error-overlay-webpack-plugin
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 59e65b8d..8748ba93 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -4,12 +4,11 @@ const HtmlWebPackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const ESLintPlugin = require('eslint-webpack-plugin'); -const ErrorOverlayPlugin = require('error-overlay-webpack-plugin'); module.exports = (env, argv) => { const dev = argv.mode !== 'production'; const config = { - devtool: dev ? 'cheap-module-source-map' : false, + devtool: dev ? 'eval-source-map' : false, mode: dev ? 'development' : 'production', entry: { 'Juick': [ @@ -104,13 +103,13 @@ module.exports = (env, argv) => { failOnWarning: false, failOnError: true, fix: false - }), - new ErrorOverlayPlugin() + }) ], devServer: { historyApiFallback: true, hot: true, client: { + progress: true, overlay: true } } |