summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/optimize_js.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/optimize_js.sh b/scripts/optimize_js.sh
index f1bc1126e..95f31e358 100755
--- a/scripts/optimize_js.sh
+++ b/scripts/optimize_js.sh
@@ -3,4 +3,5 @@
script_dir=$(dirname "$0")
js_dir="$script_dir/../data/js"
outfile="$js_dir/main.min.js"
+rm -f "$js_dir"/main.min.*.js
node "$script_dir/r.js" -o mainConfigFile="$js_dir/main.js" name=main out=$outfile