- This is a shell script that'll minify your css/js/html files in your web project.
- 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.
- Give executable permissions to the shell script (chmod u+x script.sh).
- Execute the script with a parameter which is your static web project you want to minify. Eg : ./script.sh example-project/
- 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.
- HTML-Minifier is used for minifying files.
-
Notifications
You must be signed in to change notification settings - Fork 1
License
sreeo/static-web-minify
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published