TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

CLI tool for bundling & minifying, CSS & Javascript

33 pointsby samarudgeover 13 years ago

1 comment

oinksoftover 13 years ago
jsmin.py is worlds slower than jsmin.c (I benchmarked one project at 10+s for Python and &#60;2s for C). I think the author will want to use the latter.<p>Also, without the ability to build a dependency graph (something Closure Tools excel at), I'm not sure that this is much better than a simple shell script like:<p><pre><code> dest=/tmp/build.js echo &#62; $dest for js in $(cat build.order); do cat "$js" &#62;&#62; $dest done jsmin &#60; $dest &#62; out.js </code></pre> (The same for CSS, but using slimmer).<p>At least then you don't have to write your script order in YAML.
评论 #3554026 未加载