Skip to content

Commit e6e2f89

Browse files
committed
update package file
1 parent fe2945d commit e6e2f89

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
2-
command = "pnpm build"
2+
command = "npm i -g pnpm@10.2.0 && pnpm install --no-frozen-lockfile && pnpm build"
33
publish = ".next"
44

55
[build.environment]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"index:docs": "npx ts-node --skip-project utils/algolia-indexer.ts",
1515
"dev": "next dev",
1616
"build": "next build",
17+
"netlify-build": "next build && next-sitemap",
1718
"start": "next start",
1819
"postbuild": "next-sitemap"
1920
},

0 commit comments

Comments
 (0)