Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pretty flag to prettify output #1

Merged
merged 1 commit into from
Nov 28, 2021
Merged

Conversation

hyf0
Copy link
Contributor

@hyf0 hyf0 commented Nov 28, 2021

cargo run ./test.js

Reading file: ./test.js...

origin: 3724 bytes
minified: 1911 bytes
gzipped: 867 bytes

cargo run ./test.js -p

Reading file: ./test.js...

origin: 3.72 kB
minified: 1.91 kB
gzipped: 867 B

Copy link
Owner

@huozhi huozhi left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks great!

@huozhi huozhi merged commit 687ba99 into huozhi:main Nov 28, 2021
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