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

Improve report of disk-usage on minified versions #757

Merged
merged 1 commit into from Aug 30, 2012
Merged

Improve report of disk-usage on minified versions #757

merged 1 commit into from Aug 30, 2012

Conversation

ixti
Copy link
Contributor

@ixti ixti commented Aug 30, 2012

This patch makes disk-usage report little bit more useful.
Here's visual example of du vs ``du -bh`:

% du jade.js jade.min.js runtime.js runtime.min.js
76      jade.js
40      jade.min.js
4       runtime.js
4       runtimeruntime.min.js

% du -bh jade.js jade.min.js runtime.js runtime.min.js
74K     jade.js
40K     jadejade.min.js
3.6K    runtime.js
1.8K    runtime.min.js

This patch makes disk-usage report little bit more useful.
Here's visual example of `du` vs ``du -sh`:

    % du jade.js jade.min.js runtime.js runtime.min.js
    76      jade.js
    40      jade.min.js
    4       runtime.js
    4       runtimeruntime.min.js

    % du -bh jade.js jade.min.js runtime.js runtime.min.js
    74K     jade.js
    40K     jadejade.min.js
    3.6K    runtime.js
    1.8K    runtime.min.js
tj added a commit that referenced this pull request Aug 30, 2012
Improve report of disk-usage on minified versions
@tj tj merged commit 9a53931 into pugjs:master Aug 30, 2012
@tj
Copy link
Contributor

tj commented Aug 30, 2012

we should really just remove the minified ones, i dont think anyone doesn't have a build step these days to compress

@ixti
Copy link
Contributor Author

ixti commented Aug 30, 2012

I totally agree with you.

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.

None yet

2 participants