diff options
author | Vitaly Takmazov | 2018-06-28 15:26:41 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | c8406a729b849c22b5e1fb707cdee45bfad7c402 (patch) | |
tree | 8354843a2290c0dfa7afd1370ff791a53d035bdc /vnext/webpack.config.js | |
parent | dc96d3cbdf0f8e5b787affe771b151a4786d114a (diff) |
error overlay
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index a43afc63..104c41bb 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -4,6 +4,7 @@ const HtmlWebPackPlugin = require("html-webpack-plugin"); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const UglifyJsPlugin = require("uglifyjs-webpack-plugin"); const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin"); +const ErrorOverlayPlugin = require('error-overlay-webpack-plugin'); const history = require('connect-history-api-fallback'); const convert = require('koa-connect'); const internalIp = require('internal-ip'); @@ -94,7 +95,8 @@ module.exports = { new HtmlWebPackPlugin({ template: "./src/views/index.html", filename: "./index.html" - }) + }), + new ErrorOverlayPlugin() ], }; |