1 2 3 4 5 6 7
#!/bin/sh set -x for file in autocomplete geolocation travelynx-actions theme; do uglifyjs public/static/js/${file}.js -c -m > public/static/js/${file}.min.js done