CompressJS.sh
Build several javascript files into the one build file previously compressing them with Google Closure Compiler.
Install / Use
/learn @dfsq/CompressJS.shREADME
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
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
