user1444021
user1444021

Reputation: 119

How can I minified CSS and JS with custom configuration?

I need a reliable JS and CSS minimizer which is possible to customize and compatible with modern CSS3 properties. I prefer it has something like property file in order to configuration. Would you please help me on this?

Upvotes: 3

Views: 247

Answers (2)

SebScoFr
SebScoFr

Reputation: 901

Here is an excellent JS minifier: https://github.com/mishoo/UglifyJS

Used by jQuery

Upvotes: 1

Tooraj Jam
Tooraj Jam

Reputation: 1612

As @Calgary Coder mentioned in this thread:

There are a wide variety of options. In terms of actual tools, the most common are:

1) Google Closure Compiler Service

2) Microsoft AJAX Minifier

3) YuiCompressor or YuiCompressor.NET

and likely many more, but I have used each of these tools, and all are great to work with.

If you are working with a .NET application library, there are also various other options that extend these base tools, to combine like resources and reduce overall HTTP requests.

1) Combres

2) Xpedite

3) SquishIt

Again, also likely many more...

Upvotes: 4

Related Questions