Skip to content

Commit 68d5fb7

Browse files
committed
chore: update netlify.toml
1 parent 9fc2954 commit 68d5fb7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/netlify.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
NODE_OPTIONS = "--max_old_space_size=4096"
44

55
[build]
6-
publish = "dist"
7-
command = "pnpm run build"
6+
publish = "docs/dist"
7+
command = "pnpm run docs:build"
88

99
[functions]
1010
node_bundler = "esbuild"
1111

1212
[[redirects]]
1313
from = "/*"
1414
to = "/index.html"
15-
status = 200
15+
status = 200

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
"build": "unbuild",
3939
"stub": "unbuild --stub",
4040
"start": "esno src/index.ts",
41+
"docs:dev": "pnpm dev --filter docs",
42+
"docs:build": "pnpm build --filter docs",
4143
"test": "vitest",
4244
"coverage": "vitest run --coverage",
4345
"release": "pnpm build && bumpp && npm publish",

0 commit comments

Comments
 (0)