Skip to content

Commit

Permalink
Merge pull request #10 from umijs/fix/to-json-before-generate
Browse files Browse the repository at this point in the history
fix: to json before generate
  • Loading branch information
RaoHai authored Jul 14, 2020
2 parents 6564dac + d369d21 commit 800a730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BundleAnalyzerPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class BundleAnalyzerPlugin {
const actions = [];

if (this.opts.generateReportFile) {
actions.push(() => this.generateReportFile(stats));
actions.push(() => this.generateReportFile(stats.toJson()));
}

if (this.opts.generateStatsFile) {
Expand Down

0 comments on commit 800a730

Please sign in to comment.