Proyectos
Ver en GitHub
dfsq/compressJS.sh
Acerca de
Build several javascript files into the one build file previously compressing them with Google Closure Compiler.
Lenguajes y entornos de ejecuciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalCompressJS
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
Explorar proyectos relacionados
Cargando…