vitesse/netlify.toml
2020-08-10 21:14:50 +08:00

13 lines
318 B
TOML
Executable File

[build.environment]
# to disable npm auto install. see https://community.netlify.com/t/using-pnpm-and-pnpm-workspaces/2759
NPM_FLAGS="--prefix=/"
[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200