From 1adedff61ac573bc7e3e7f4e1818b67951101813 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Sat, 6 May 2017 16:14:30 +0100 Subject: [PATCH] Filter out source-map warnings in webpack output --- Gruntfile.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index dd8f0a17..b57f7f6d 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -220,7 +220,8 @@ module.exports = function (grunt) { ] }, stats: { - children: false + children: false, + warningsFilter: /source-map/ } }, webDev: { @@ -237,10 +238,7 @@ module.exports = function (grunt) { compileTime: compileTime }) ], - watch: true, - stats: { - warningsFilter: /source-map/ - } + watch: true }, webProd: { target: "web",