Skip to content

Commit

Permalink
fix(build) don't run clean after compilation
Browse files Browse the repository at this point in the history
It prevents the bundle analyzer from working because the stats files are
placed in the build dir.

Clean *before* building instead.
  • Loading branch information
saghul committed Aug 9, 2024
1 parent 8299aa4 commit b5ac40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b5ac40b

Please sign in to comment.