From a5e2952e8c0885f01593236666a4bc18b57dbf52 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Tue, 27 Mar 2018 20:48:57 -0400 Subject: [PATCH] Get rid of DeprecationWarning output filter --- webpack.config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 33125a4d..c36f3f03 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -12,12 +12,6 @@ const CopyPlugin = require('copy-webpack-plugin'); const WatchTimestampsPlugin = require('./config/watch-timestamps-plugin'); const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; -const oldWrite = process.stderr.write; -process.stderr.write = chunk => { - if (String(chunk).indexOf('DeprecationWarning:')!==-1) return; - return oldWrite.call(process.stderr, chunk); -}; - function parseJson(text, fallback) { try { return JSON.parse(text);