fix: netlify builds

This commit is contained in:
liyasthomas
2021-09-17 14:17:48 +05:30
parent 9e6659e842
commit 0f39d54c3c

View File

@@ -1,8 +1,11 @@
[build.environment]
NODE_VERSION = "14"
NPM_FLAGS = "--prefix=/dev/null"
[build]
base = "/"
publish = "packages/hoppscotch-app/dist"
command = "npx pnpm install --store=node_modules/.pnpm-store && pnpm run generate"
environment = { NODE_VERSION = "14", NPM_FLAGS = "--version" }
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run generate"
[[redirects]]
from = "/discord"