Skip to content

sreeo/static-web-minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

static-web-minify

  1. This is a shell script that'll minify your css/js/html files in your web project.
  2. Make sure Java (preferrably JDK 8) is installed as this script uses YUICompressor for minifying/uglifying files. You should also have Node installed on your machine.
  3. Give executable permissions to the shell script (chmod u+x script.sh).
  4. Execute the script with a parameter which is your static web project you want to minify. Eg : ./script.sh example-project/
  5. The minified HTML/CSS/JS files will be outputted to a new folder dist/. Folder structure and hierarchies are not modified. Files are minified recursively.
  6. HTML-Minifier is used for minifying files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages