From 0f39d54c3c669089e6639dd91904fb62b911945e Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Fri, 17 Sep 2021 14:17:48 +0530 Subject: [PATCH] fix: netlify builds --- netlify.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index f672c944..f88a8110 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"