We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580deaa commit 323cd97Copy full SHA for 323cd97
packages/@angular/cli/tasks/build.ts
@@ -59,7 +59,7 @@ export default Task.extend({
59
} else if (runTaskOptions.statsJson) {
60
fs.writeFileSync(
61
path.resolve(this.project.root, outputPath, 'stats.json'),
62
- JSON.stringify(json, null, 2)
+ JSON.stringify(stats.toJson(), null, 2)
63
);
64
}
65
0 commit comments