update pagefind

This commit is contained in:
Zheyuan Wu
2025-07-10 14:30:58 -05:00
parent 9d3115f089
commit d64d10ef6d
5 changed files with 143 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
{
"scripts": {
"dev": "next dev",
"build": "cross-env NODE_OPTIONS='--max-old-space-size=16384' next build",
"build": "cross-env NODE_OPTIONS='--max-old-space-size=16384' next build && npm run postbuild",
"build:test": "cross-env ANALYZE=true NODE_OPTIONS='--inspect --max-old-space-size=4096' next build",
"build:analyze": "cross-env ANALYZE=true NODE_OPTIONS='--max-old-space-size=16384' next build",
"postbuild": "pagefind --site .next/server/app --output-path public/_pagefind",
"start": "next start"
},
"dependencies": {
@@ -12,8 +13,10 @@
"@vercel/speed-insights": "^1.2.0",
"cross-env": "^7.0.3",
"next": "^15.3.5",
"next-sitemap": "^4.2.3",
"nextra": "^4.2.17",
"nextra-theme-docs": "^4.2.17",
"pagefind": "^1.3.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},