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

This branch is 8 commits behind dfsq/compressJS.sh:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

425ffde · Feb 18, 2013

History

10 Commits
Sep 21, 2011
Feb 18, 2013
Jan 13, 2013

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