chore: netlify config

This commit is contained in:
Anthony Fu committed 2021-11-05 09:46:45 +08:00
1 parent 7daf0b1669
commit 31e1130b97
1 file changed
+12
Executable
+12
View File
@@ -0,0 +1,12 @@
[build.environment]
NPM_FLAGS = "--prefix=/dev/null"
NODE_VERSION = "14"
[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200