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

liyasthomas9e6659e842f9
diff --git a/netlify.toml b/netlify.toml
index 6e4b39967..f672c944d 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,8 +1,8 @@
[build]
base = "/"
publish = "packages/hoppscotch-app/dist"
- command = "pnpm run generate"
- environment = { NODE_VERSION = "14" }
+ command = "npx pnpm install --store=node_modules/.pnpm-store && pnpm run generate"
+ environment = { NODE_VERSION = "14", NPM_FLAGS = "--version" }
[[redirects]]
from = "/discord"