mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
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:
@@ -21,3 +21,6 @@ pnpm-debug.log*
|
|||||||
|
|
||||||
# ignore .astro directory
|
# ignore .astro directory
|
||||||
.astro
|
.astro
|
||||||
|
|
||||||
|
# ignore Jampack cache files
|
||||||
|
.jampack/
|
||||||
Generated
+3179
-139
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build && jampack ./dist",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"sync": "astro sync",
|
"sync": "astro sync",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
"@astrojs/react": "^2.0.2",
|
"@astrojs/react": "^2.0.2",
|
||||||
"@astrojs/sitemap": "^1.0.1",
|
"@astrojs/sitemap": "^1.0.1",
|
||||||
"@astrojs/tailwind": "^3.0.1",
|
"@astrojs/tailwind": "^3.0.1",
|
||||||
|
"@divriots/jampack": "^0.9.4",
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"@types/github-slugger": "^1.3.0",
|
"@types/github-slugger": "^1.3.0",
|
||||||
"@types/react": "^18.0.27",
|
"@types/react": "^18.0.27",
|
||||||
|
|||||||
Reference in New Issue
Block a user