Add friendly-errors-webpack-plugin (#1961)
This commit is contained in:
@@ -6,6 +6,7 @@ const CleanPlugin = require('clean-webpack-plugin');
|
||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
const StyleLintPlugin = require('stylelint-webpack-plugin');
|
||||
const CopyGlobsPlugin = require('copy-globs-webpack-plugin');
|
||||
const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin');
|
||||
|
||||
const config = require('./config');
|
||||
|
||||
@@ -175,6 +176,7 @@ let webpackConfig = {
|
||||
failOnError: !config.enabled.watcher,
|
||||
syntax: 'scss',
|
||||
}),
|
||||
new FriendlyErrorsWebpackPlugin(),
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user