mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 09:39:25 +01:00
Enable compressor in uglifyjs
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
a613dc3501
commit
26ed5fd858
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ main() {
|
|||
|
||||
find content/js/ -type f \
|
||||
-name "*.js" ! -name "*.min.*" ! -name "vfs_fonts*" \
|
||||
-exec uglifyjs -o {}.min {} \; \
|
||||
-exec uglifyjs --compress sequences=true,conditionals=true,booleans=true -o {}.min {} \; \
|
||||
-exec rm {} \; \
|
||||
-exec mv {}.min {} \;
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue