summaryrefslogtreecommitdiffstats
path: root/scripts/optimize_js.sh
diff options
context:
space:
mode:
authorJoakim Reinert <mail@jreinert.com>2015-05-04 00:58:50 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 16:44:10 +0200
commitc897aa84567ba046644a87e23b32f3df4c5845d3 (patch)
tree0f98f9b4475e485e86e9fd666cc295e9fb7bcd04 /scripts/optimize_js.sh
parent0cbb8802555ad6e81f42ce8738842854d0556296 (diff)
Set cache buster for js with urlArgs setting
No more need for timestamp in filename of minified main js
Diffstat (limited to 'scripts/optimize_js.sh')
-rwxr-xr-xscripts/optimize_js.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/optimize_js.sh b/scripts/optimize_js.sh
index 82e9a25e6..f1bc1126e 100755
--- a/scripts/optimize_js.sh
+++ b/scripts/optimize_js.sh
@@ -2,5 +2,5 @@
script_dir=$(dirname "$0")
js_dir="$script_dir/../data/js"
-outfile="$js_dir/main.min.$(date +%s).js"
+outfile="$js_dir/main.min.js"
node "$script_dir/r.js" -o mainConfigFile="$js_dir/main.js" name=main out=$outfile