From 6f695c8c6074d25c073be193d1269f0fea997bd1 Mon Sep 17 00:00:00 2001 From: sakshi godspeed Date: Sat, 9 Nov 2024 18:50:11 +0530 Subject: [PATCH] fix node env production warning --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 5350d7e..f8bc9fc 100755 --- a/src/index.ts +++ b/src/index.ts @@ -219,7 +219,7 @@ export const isAGodspeedProject = () => { spawnSync("npm", ["run", "build"], { stdio: "inherit", env: { - NODE_ENV: "production", + // NODE_ENV: "production", ...process.env, }, }); @@ -233,7 +233,7 @@ export const isAGodspeedProject = () => { spawnSync("npm", ["run", "preview"], { stdio: "inherit", env: { - NODE_ENV: "production", + // NODE_ENV: "production", ...process.env, }, }); @@ -300,7 +300,7 @@ export const isAGodspeedProject = () => { spawnSync("npm", ["run", "serve"], { stdio: "inherit", env: { - NODE_ENV: "production", + // NODE_ENV: "production", ...process.env, }, });