Files
react/compiler/forget/scripts/hash.sh
T
Lauren Tan b6c1ca9718 [build] yarn bundle:meta builds and uploads all packages
Some changes to our build infra to create a Meta bundle containing all packages. 
Needs corresponding changes in the internal upgrade commands
2023-06-15 12:52:55 -04:00

7 lines
182 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail
# Hashes JS files in the provided directory to create a cache-breaker
find $1 -name '*.js' | sort | xargs shasum | shasum | awk '{ print $1 }'