fix: netlify builds
This commit is contained in:
parent
9e6659e842
commit
0f39d54c3c
1 changed files with 5 additions and 2 deletions
|
|
@ -1,8 +1,11 @@
|
||||||
|
[build.environment]
|
||||||
|
NODE_VERSION = "14"
|
||||||
|
NPM_FLAGS = "--prefix=/dev/null"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
base = "/"
|
base = "/"
|
||||||
publish = "packages/hoppscotch-app/dist"
|
publish = "packages/hoppscotch-app/dist"
|
||||||
command = "npx pnpm install --store=node_modules/.pnpm-store && pnpm run generate"
|
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run generate"
|
||||||
environment = { NODE_VERSION = "14", NPM_FLAGS = "--version" }
|
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/discord"
|
from = "/discord"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue