Skip to content

spektom/minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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:

Prerequisites

  • Python 3

Usage

minify.py <static files prefix>

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

./minify.py static/

About

JS and CSS minifier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages