How to use Google's Closure to compile JavaScript

后端 未结 6 1672
说谎
说谎 2021-02-05 14:56

Google just released Closure, which is a compiler to minify JavaScript.

On the product site, it says \"The Closure Compiler has also been integrated with Page Speed\".

6条回答
  •  花落未央
    2021-02-05 15:12

    "Page Speed 1.4 Beta integrates the Closure Compiler to minify JavaScript files automatically. However, you will need to download and install the Page Speed Beta and Closure Compiler separately."

    http://code.google.com/speed/page-speed/download.html

    I haven't installed this version yet, but I'm fairly certain that Page Speed will present you with compiled code in its optimization recommendations.

提交回复
热议问题