1 parent f865593 commit 0ca7c00Copy full SHA for 0ca7c00
1 file changed
scripts/minify.bash
@@ -37,6 +37,8 @@ npx cleancss --batch --batch-suffix '' -O2 \
37
echo "Minifying Search JS..."
38
npx uglify-js $BUILD_DIR/assets/js/search_index.js -o $BUILD_DIR/assets/js/search_index.min.js -c -m
39
mv $BUILD_DIR/assets/js/search_index.min.js $BUILD_DIR/assets/js/search_index.js
40
+npx uglify-js $BUILD_DIR/assets/js/search_worker_init.js -o $BUILD_DIR/assets/js/search_worker_init.min.js -c -m
41
+mv $BUILD_DIR/assets/js/search_worker_init.min.js $BUILD_DIR/assets/js/search_worker_init.js
42
# The other js files are too small to need minification
43
44
echo "Done!"
0 commit comments