Ignore xterm sourcemaps which cause warnings w/ npm run build

This commit is contained in:
Simon Howe
2017-02-01 18:54:01 +01:00
parent 9e333d4f4d
commit dcfc66811f

View File

@@ -103,7 +103,8 @@ module.exports = {
new webpack.DefinePlugin(GLOBALS),
new webpack.optimize.CommonsChunkPlugin('vendors', 'vendors-[chunkhash].js'),
new webpack.optimize.OccurenceOrderPlugin(true),
new webpack.IgnorePlugin(/^\.\/locale$/, [/moment$/]),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new webpack.IgnorePlugin(/.*\.map$/, /xterm\/lib\/addons/),
new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
compress: {