Skip to content

Commit

Permalink
build(esbuild): add NG_BUILD_OPTIMIZE_CHUNKS flag to optimize esbuild…
Browse files Browse the repository at this point in the history
… chunking
  • Loading branch information
FreekMencke committed Sep 16, 2024
1 parent da46499 commit 3f8dce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"type": "module",
"scripts": {
"postinstall": "npm install --prefix ./scripts",
"build": "ng build",
"predeploy": "npm run sitemap && ng build",
"build": "NG_BUILD_OPTIMIZE_CHUNKS=1 ng build",
"predeploy": "npm run sitemap && npm run build",
"deploy": "npm run deploy:app && npm run deploy:assets",
"deploy:app": "aws s3 sync --delete --exclude 'assets/*' --exclude '*.js' --exclude '*.css' ./dist/osrs-tracker-web s3://osrs-tracker.freekmencke.com",
"deploy:assets": "aws s3 sync --delete --size-only ./dist/osrs-tracker-web s3://osrs-tracker.freekmencke.com",
Expand Down

0 comments on commit 3f8dce9

Please sign in to comment.