build(deps-dev): add jampack for performance optimization (#46)

Add new package "jampack" to devDependencies to optimize performance for production build.
This commit is contained in:
Min Adwaita
2023-03-15 17:00:48 +00:00
committed by GitHub
parent 27507d1d78
commit b9254c15f1
3 changed files with 3184 additions and 140 deletions
+2 -1
View File
@@ -5,7 +5,7 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"build": "astro build && jampack ./dist",
"preview": "astro preview",
"sync": "astro sync",
"astro": "astro",
@@ -30,6 +30,7 @@
"@astrojs/react": "^2.0.2",
"@astrojs/sitemap": "^1.0.1",
"@astrojs/tailwind": "^3.0.1",
"@divriots/jampack": "^0.9.4",
"@tailwindcss/typography": "^0.5.9",
"@types/github-slugger": "^1.3.0",
"@types/react": "^18.0.27",