[build.environment]
  NPM_FLAGS = "--version"
  NODE_OPTIONS = "--max_old_space_size=4096"
  NODE_VERSION = "16"

[build]
  publish = "packages/.vitepress/dist"
  command = "npx pnpm i --store=node_modules/.pnpm-store && npm run install-fonts && npm run docs:build"

[[redirects]]
  from = "https://vueuse.js.org/*"
  to = "https://vueuse.org/:splat"
  status = 301
  force = true

[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 200

