2020-08-10 02:43:04 +08:00
|
|
|
[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"
|
2020-08-10 21:05:29 +08:00
|
|
|
command = "npx pnpm i && npm run build"
|
2020-08-10 02:43:04 +08:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "/index.html"
|
|
|
|
status = 200
|