Setup auto-image compression on build

This commit is contained in:
BuyMyMojo 2024-12-17 13:58:23 +11:00
parent 627b43c7c4
commit 803efaa69e
2 changed files with 18 additions and 1 deletions

View file

@ -4,7 +4,7 @@
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"build": "astro check && ./compress-images.sh && astro build",
"preview": "astro preview",
"astro": "astro"
},