Skip to content

Instantly share code, notes, and snippets.

View i0466lt's full-sized avatar

Stefano I0-466/LT i0466lt

View GitHub Profile
@i0466lt
i0466lt / minify.sh
Created April 25, 2020 19:03
Comprime script JS ricorsivamente
#!/bin/bash
#
find ./ -type f \
-name "*.js" ! -name "*.min.*" ! -name "vfs_fonts*" \
-exec echo {} \; \
-exec uglifyjs -o {}.min {} \;
for file in ./*.js.min; do