#no #errors #noerrors

This commit is contained in:
joshaber 2016-10-26 16:37:56 -04:00
parent ddc323f151
commit 464ee91cd3
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const webpack = require('webpack')
module.exports = {
entry: {
@ -41,7 +42,8 @@ module.exports = {
new HtmlWebpackPlugin({
'filename': 'shared.html',
'chunks': ['shared']
})
}),
new webpack.NoErrorsPlugin()
],
externals: function (context, request, callback) {
try {

View file

@ -20,7 +20,6 @@ const config = {
plugins: [
...common.plugins,
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new webpack.DefinePlugin(Object.assign({}, {
__DEV__: true
}, common.replacements))