Skip to content

minify all html, css, js and optimize image files for web project.

Notifications You must be signed in to change notification settings

appleboy/minify-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Minify Tool

Minify all html, css, js and optimize image files for web project.

Feature

Installation

Install NPM and compressor tools via the following script command.

$ git clone https://github.com/appleboy/minify-tool.git build
$ cd build && chmod +x install.sh minify

Install Html, CSS and JavaScript minify tool.

$ ./install.sh

Usage

Minify image files (include *.jpg, *.png, *.gif).

$ ./minify -t image image_folder_path

Minify single html, css or javascript file.

$ ./minify single_file_path

Minify web project on same folder.

$ ./minify your_project_folder_path

Minify web project to another folder.

$ ./minify your_project_folder_path -o output_folder_path

UNIX Command

Copy minify to /usr/bin folder

$ cp ./minify /usr/bin/minify

Author

Bo-Yi Wu, Twitter: @appleboy, Blog: http://blog.wu-boy.com

About

minify all html, css, js and optimize image files for web project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages