From a0131b8f018f96ca03e47322fdbe567b6474b923 Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Mon, 26 Feb 2024 23:23:00 +0000 Subject: [PATCH] chore: prevent "too much data" errors from site/out/assets/ getting too big --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 55f73f672fc44..6205bca0e40e9 100644 --- a/Makefile +++ b/Makefile @@ -361,6 +361,8 @@ $(foreach chart,$(charts),build/$(chart)_helm_$(VERSION).tgz): build/%_helm_$(VE site/out/index.html: site/package.json $(shell find ./site $(FIND_EXCLUSIONS) -type f \( -name '*.ts' -o -name '*.tsx' \)) cd site + # prevents this directory from getting to big, and causing "too much data" errors + rm -rf out/assets/ ../scripts/pnpm_install.sh pnpm build