diff options
| author | Danny Lin <danny@kdrag0n.dev> | 2021-01-23 19:47:37 -0800 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-01-23 23:08:12 -0500 |
| commit | dff5a750d182aed60df2ea6c4fd452a0955cdd0f (patch) | |
| tree | 983427117e59575d0c8b15609369a4a57d98c2b6 /process_static | |
| parent | 94ec5e04406062c1796edd186ee2081cf5e06723 (diff) | |
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.
Diffstat (limited to 'process_static')
| -rwxr-xr-x | process_static | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
