#!/usr/bin/env zsh set -eax # some source maps are >20MB, we can't keep that going. for f in $(find build/uwu -name '*.js' -or -name '*.mjs'); do grep -v sourceMappingURL= "$f" > /tmp/a && mv /tmp/a "$f" done