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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user