From e05918d84fe10c1a8d047de21d22b8299e34bb22 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Fri, 20 Jul 2018 11:42:58 -0500 Subject: [PATCH] stats.report/json is being written to .embark/ not dist/ --- lib/pipeline/webpackProcess.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pipeline/webpackProcess.js b/lib/pipeline/webpackProcess.js index f0c135e0..e1e59880 100644 --- a/lib/pipeline/webpackProcess.js +++ b/lib/pipeline/webpackProcess.js @@ -149,7 +149,7 @@ class WebpackProcess extends ProcessWrapper { }, function writeStatsReport(next) { if (detectErrors) { - self._log('info', 'writing file '+ ('dist/stats.report').bold.dim); + self._log('info', 'writing file '+ ('.embark/stats.report').bold.dim); } fs.writeFile( path.join(fs.dappPath('.embark'), 'stats.report'), @@ -159,7 +159,7 @@ class WebpackProcess extends ProcessWrapper { }, function writeStatsJSON(next) { if (detectErrors) { - self._log('info','writing file '+ ('dist/stats.json').bold.dim); + self._log('info','writing file '+ ('.embark/stats.json').bold.dim); } fs.writeFile( path.join(fs.dappPath('.embark'), 'stats.json'),