Skip to content

Commit 1c75ee7

Browse files
committed
feat: add make site-analyze target to enable webpack bundle analysis
Signed-off-by: megha1807 <meghakumarig5@gmail.com>
1 parent 166b997 commit 1c75ee7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ features:
5757
rm .github/build/spreadsheet.csv
5858

5959
.PHONY: setup build site site-full clean site-fast lint features
60+
61+
## Analyze webpack bundle with FCP optimization
62+
site-analyze:
63+
@echo "🏗️ Building site with webpack bundle analyzer..."
64+
ANALYZE_BUNDLE=true npm run build

0 commit comments

Comments
 (0)