Skip to content

Conversation

@rkostrzewski
Copy link
Collaborator

This adds new cli switch - preact build --json that works like webpack --json > stats.json (stats.json file is generated with build stats in cwd).

Thought it be great for working with performance-oriented projects.

Copy link
Member

@developit developit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I might change writeJsonStats to be an async function but otherwise this is perfect!

@developit developit merged commit 2b92cd0 into preactjs:master May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants