From dff5a750d182aed60df2ea6c4fd452a0955cdd0f Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sat, 23 Jan 2021 19:47:37 -0800 Subject: Switch to new bundled fastboot.js This simplifies cache busting greatly without needing to do further processing on any fastboot.js code before deploying. It also removes the need for a non-module script with global scope. --- process_static | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process_static') diff --git a/process_static b/process_static index a657fcdf..fcd7efd9 100755 --- a/process_static +++ b/process_static @@ -7,7 +7,7 @@ export PATH="$PWD/node_modules/.bin:$PATH" rm -rf static_tmp cp -a static static_tmp -rm -rf static_tmp/js/fastboot/{.git,demo,README.md} +rm -rf static_tmp/js/fastboot/{!(dist),dist/!(fastboot.min.js|libs)} for file in static_tmp/**/*.@(json|webmanifest); do json_reformat -m < "$file" | sponge "$file" -- cgit v1.3.1