diff options
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() ], }; |