TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

CLI tool for bundling & minifying, CSS & Javascript

33 点作者 samarudge超过 13 年前

1 comment

oinksoft超过 13 年前
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 未加载