From c8406a729b849c22b5e1fb707cdee45bfad7c402 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Jun 2018 15:26:41 +0300 Subject: error overlay --- vnext/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vnext/webpack.config.js') 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() ], }; -- cgit v1.2.3