---
title: "使用Google Closure Compiler对js文件进行压缩处理"
author: "xwv"
date: "2013-02-18T14:20:31Z"
tags: []
categories: ["Web前端"]
slug: "google-closure-compiler-js"
draft: false
lastmod: "2013-02-18T14:21:00Z"
id: 1807308
url: "https://xwv.iteye.com/blog/1807308"
---

尝试对js文件进行压缩处理.

      所知的工具有这么几个: JSMin, YUI Compresso, Google Closure Compiler, 和UglifyJS.此次尝试的为

Google Closure Compiler.

      Google Closure Compiler的项目官网: http://code.google.com/p/closure-compiler/

      通过Google找到的供参考的几个web资料:

      1. [在项目中使用Google Closure Compiler](http://www.cnblogs.com/JeffreyZhao/archive/2009/12/09/ikvm-google-closure-compiler.html)

      2. [使用Google Closure Compiler全力压缩代码](http://blog.sina.com.cn/s/blog_a58561fc01015g6j.html)