GithubHelp home page GithubHelp logo

adamendvy89 / compressjs.sh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dfsq/compressjs.sh

0.0 2.0 0.0 141 KB

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

Home Page: http://dfsq.info/compress-js

Shell 94.90% JavaScript 5.10%

compressjs.sh's Introduction

CompressJS

Make single javascript file ready for production

Very simple bash script which compresses javascript files with Google Closure Compiler online service and then creates a single file of them. CompressJS reduces file sizes and saves bandwidth with just one simple command.

Usage

Files you want to compress and add to the resulting file should be separated with spaces. The last filename is a build target.

Run next command in terminal:

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

Of course you can use wildcards in file names and patterns:

$ ./compressjs.sh scripts/*.js target.min.js

Home page

Home page.

compressjs.sh's People

Contributors

dfsq avatar jaseclamp avatar

Watchers

James Cloos avatar Adam Endvy Fajariyanto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.