Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: netlify builds

liyasthomas0f39d54c3c66
diff --git a/netlify.toml b/netlify.toml
index f672c944d..f88a8110f 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -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"