From 38945ae32f56ca47731d1fa8ae9c13caff73ffef Mon Sep 17 00:00:00 2001 From: memdmp Date: Mon, 24 Feb 2025 06:11:05 +0100 Subject: feat: nostrip --- Makefile | 1 - contrib/strip-srcmap.sh | 6 ------ 2 files changed, 7 deletions(-) delete mode 100755 contrib/strip-srcmap.sh diff --git a/Makefile b/Makefile index ae92de1..357a903 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,6 @@ mozaddons: $(MAKE) bootstrap pnpm i $(MAKE) build-reproducible - contrib/strip-srcmap.sh $(MAKE) pack clean: diff --git a/contrib/strip-srcmap.sh b/contrib/strip-srcmap.sh deleted file mode 100755 index e92804f..0000000 --- a/contrib/strip-srcmap.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env zsh -set -e -# 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 -- cgit v1.2.3