Skip to content

Commit 323cd97

Browse files
Charles Lydinghansl
Charles Lyding
authored andcommitted
fix(@angular/cli): sync webpack stats file content options
1 parent 580deaa commit 323cd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/tasks/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default Task.extend({
5959
} else if (runTaskOptions.statsJson) {
6060
fs.writeFileSync(
6161
path.resolve(this.project.root, outputPath, 'stats.json'),
62-
JSON.stringify(json, null, 2)
62+
JSON.stringify(stats.toJson(), null, 2)
6363
);
6464
}
6565

0 commit comments

Comments
 (0)