An open API service indexing awesome lists of open source software.

https://github.com/spektom/minify

JS and CSS minifier
https://github.com/spektom/minify

css cssminifier minify

Last synced: 3 months ago
JSON representation

JS and CSS minifier

Awesome Lists containing this project

README

        

minify
======

This script minifies all recently changed CSS and JS files placed under the given path,
then it goes, and updates all HTML files that reference them by replacing URL argument
of format "v20140125-1013" with the latest timestamp.

The following Internet services are in use by this script:

* [cssminifier.com](cssminifier.com)
* [cnvyr.io](cnvyr.io)
* [closure-compiler.appspot.com](closure-compiler.appspot.com)

### Prerequisites ###

* Python 3

### Usage ###

`minify.py `

For example, to minify all CSS and JS files that reside in folder "static/"
invoke the following command:

`./minify.py static/`