stats.report/json is being written to .embark/ not dist/

This commit is contained in:
Michael Bradley, Jr 2018-07-20 11:42:58 -05:00
parent 78332d40da
commit 65427aed58
1 changed files with 2 additions and 2 deletions

View File

@ -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'),