From a223844620b452686622683b06ac6d8b95e39469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 9 Aug 2024 10:21:34 +0200 Subject: [PATCH] fix(build) don't run clean after compilation It prevents the bundle analyzer from working because the stats files are placed in the build dir. Clean *before* building instead. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5b78089345b..68a06923e6c 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,9 @@ else WEBPACK_DEV_SERVER = ./node_modules/.bin/webpack serve --mode development endif -all: compile deploy clean +all: compile deploy -compile: +compile: clean NODE_OPTIONS=--max-old-space-size=8192 \ $(WEBPACK)