AssetsMinify ============ AssetsMinify is a [WordPress plugin](http://wordpress.org/extend/plugins/assetsminify/) based on [Assetic library](https://github.com/kriswallsmith/assetic) to let using Compass, SASS, LESS and CoffeeScript for developing themes and for minifying JS and CSS resources. Why use it ------------- How many times have you wished to minify in a clean way all the stylesheets and scripts of a WordPress website?
WordPress offers the way to include JS specifying where to import the script ( within `` or before `` ).
It's good practice include JS before `` for better performances, but not every WordPress plugin's developer is prone to do so. AssetsMinify takes every CSS and JS asset included using `wp_enqueue_style()` and `wp_enqueue_script()` and Merges+Minifies them. You can also use AssetsMinify to create your WP theme using Compass / SASS / LESS without configuring any `config.rb` or *that kind of stuff*. How it works ------------- You can simply include your stylesheets using the WordPress way: ``` php This will work! AssetsMinify will compile 'em all and will combine them in a single css file. ``` php ` ( in the previous sample only script1 ) and which would go before `` ( script2 and script3 ). External scripts are not managed by AssetsMinify (so script4 in the sample will be included with a separate `