mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 21:46:12 +00:00
stats.report/json is being written to .embark/ not dist/
This commit is contained in:
parent
78332d40da
commit
65427aed58
@ -149,7 +149,7 @@ class WebpackProcess extends ProcessWrapper {
|
|||||||
},
|
},
|
||||||
function writeStatsReport(next) {
|
function writeStatsReport(next) {
|
||||||
if (detectErrors) {
|
if (detectErrors) {
|
||||||
self._log('info', 'writing file '+ ('dist/stats.report').bold.dim);
|
self._log('info', 'writing file '+ ('.embark/stats.report').bold.dim);
|
||||||
}
|
}
|
||||||
fs.writeFile(
|
fs.writeFile(
|
||||||
path.join(fs.dappPath('.embark'), 'stats.report'),
|
path.join(fs.dappPath('.embark'), 'stats.report'),
|
||||||
@ -159,7 +159,7 @@ class WebpackProcess extends ProcessWrapper {
|
|||||||
},
|
},
|
||||||
function writeStatsJSON(next) {
|
function writeStatsJSON(next) {
|
||||||
if (detectErrors) {
|
if (detectErrors) {
|
||||||
self._log('info','writing file '+ ('dist/stats.json').bold.dim);
|
self._log('info','writing file '+ ('.embark/stats.json').bold.dim);
|
||||||
}
|
}
|
||||||
fs.writeFile(
|
fs.writeFile(
|
||||||
path.join(fs.dappPath('.embark'), 'stats.json'),
|
path.join(fs.dappPath('.embark'), 'stats.json'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user