vitesse/netlify.toml
2020-08-10 13:37:49 +08:00

13 lines
298 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 = "NPM_FLAGS='' npx pnpm i && npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200