Skip to content

Commit 6f695c8

Browse files
fix node env production warning
1 parent 75a917c commit 6f695c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export const isAGodspeedProject = () => {
219219
spawnSync("npm", ["run", "build"], {
220220
stdio: "inherit",
221221
env: {
222-
NODE_ENV: "production",
222+
// NODE_ENV: "production",
223223
...process.env,
224224
},
225225
});
@@ -233,7 +233,7 @@ export const isAGodspeedProject = () => {
233233
spawnSync("npm", ["run", "preview"], {
234234
stdio: "inherit",
235235
env: {
236-
NODE_ENV: "production",
236+
// NODE_ENV: "production",
237237
...process.env,
238238
},
239239
});
@@ -300,7 +300,7 @@ export const isAGodspeedProject = () => {
300300
spawnSync("npm", ["run", "serve"], {
301301
stdio: "inherit",
302302
env: {
303-
NODE_ENV: "production",
303+
// NODE_ENV: "production",
304304
...process.env,
305305
},
306306
});

0 commit comments

Comments
 (0)