From b5ac40b32a6bd22ffcc4139c5d6cb792593ccb5b 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 5b78089345bf9..68a06923e6cfe 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)