chore: add netilify config

This commit is contained in:
syy11cn 2022-04-02 19:24:11 +08:00
parent 2aff67704a
commit 039b10ae67
1 changed files with 12 additions and 0 deletions

12
netlify.toml Normal file
View File

@ -0,0 +1,12 @@
[build.environment]
NPM_FLAGS = "--version"
NODE_VERSION = "16"
[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200