Skip to content

Build several javascript files into the one build file previously compressing them with Google Closure Compiler.

Notifications You must be signed in to change notification settings

moose007/compressJS.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

CompressJS - make single javascript file ready for production

Very simple bash script which compresses javascript files with Google Closure Compiler and then make a single file of them. Reduce file sizes and save bandwidth with just one simple command.

Usage

Files you want to compress and add to the resulting file are separated with spaces. Run next command in terminal:

$ ./compressjs.sh jquery-ui-1.8.16.custom.min.js chat-widget.js templ.min.js

Sure you can use wildcards in file names:

$ ./compressjs.sh scripts/*.js

Home page

Home page.

About

Build several javascript files into the one build file previously compressing them with Google Closure Compiler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published