Skip to content

Commit

Permalink
chore: update netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
peterroe committed Aug 24, 2024
1 parent 9fc2954 commit 68d5fb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
NODE_OPTIONS = "--max_old_space_size=4096"

[build]
publish = "dist"
command = "pnpm run build"
publish = "docs/dist"
command = "pnpm run docs:build"

[functions]
node_bundler = "esbuild"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
status = 200
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"build": "unbuild",
"stub": "unbuild --stub",
"start": "esno src/index.ts",
"docs:dev": "pnpm dev --filter docs",
"docs:build": "pnpm build --filter docs",
"test": "vitest",
"coverage": "vitest run --coverage",
"release": "pnpm build && bumpp && npm publish",
Expand Down

0 comments on commit 68d5fb7

Please sign in to comment.