Skip to content

Commit 603d477

Browse files
committed
Do not run fetch-remote-docs or fix-pages-structure on predev, just on prebuild
1 parent 71f4c62 commit 603d477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"type": "module",
66
"scripts": {
77
"dev": "next",
8-
"predev": "pnpm prebuild",
8+
"predev": "tsup ./src/i18n.ts --format esm",
99
"build": "rm -rf .next && rm -rf out && next build",
10-
"prebuild": "tsup ./src/i18n.ts --format esm && pnpm fetch-remote-docs && pnpm fix-pages-structure",
10+
"prebuild": "pnpm predev && pnpm fetch-remote-docs && pnpm fix-pages-structure",
1111
"postbuild": "next-sitemap --config next-sitemap.config.mjs && node scripts/sitemap-ci.js",
1212
"typecheck": "tsc",
1313
"fetch-remote-docs": "tsx scripts/fetch-remote-docs.ts",

0 commit comments

Comments
 (0)