From cbaf1c65ef5b96aec8407e6ebff4139e53498977 Mon Sep 17 00:00:00 2001 From: Kayla Washburn-Love Date: Tue, 27 Feb 2024 10:45:57 -0700 Subject: [PATCH] chore: clean out site/out/assets/ when building to prevent "too much data" errors (#12313) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 55f73f672f..6205bca0e4 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