summaryrefslogtreecommitdiffstats
path: root/scripts/optimize_js.sh
blob: f1bc1126ed41d6e85a96376c7f6bbdd2b26587e4 (plain)
1
2
3
4
5
6
#!/bin/bash

script_dir=$(dirname "$0")
js_dir="$script_dir/../data/js"
outfile="$js_dir/main.min.js"
node "$script_dir/r.js" -o mainConfigFile="$js_dir/main.js" name=main out=$outfile