vitest/netlify.toml
2022-08-02 08:26:26 +03:00

24 lines
649 B
TOML
Executable File

[build.environment]
NPM_FLAGS = "--version"
NODE_VERSION = "16"
[build]
publish = "docs/.vitepress/dist"
command = "npx pnpm@7.8.0 i --store=node_modules/.pnpm-store --no-frozen-lockfile && npm run docs:build"
ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- docs/ package.json pnpm-lock.yaml"
[[redirects]]
from = "/new"
to = "https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__"
status = 302
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"