Skip to content

Commit

Permalink
fix(web): set NODE_ENV to production in start script
Browse files Browse the repository at this point in the history
The "start" script now explicitly sets NODE_ENV to "production". This
 ensures the application runs in the correct environment, avoiding
 potential issues caused by an undefined NODE_ENV variable.
  • Loading branch information
suddenlyGiovanni committed Dec 18, 2024
1 parent 21f2686 commit 68b8b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"format": "biome check --vcs-enabled=true --vcs-use-ignore-file=true --formatter-enabled=true --linter-enabled=false --organize-imports-enabled=true .",
"format:write": "biome check --vcs-enabled=true --vcs-use-ignore-file=true --formatter-enabled=true --linter-enabled=false --organize-imports-enabled=true --write .",
"lint": "biome ci --vcs-enabled=true --vcs-use-ignore-file=true --vcs-root='../../' --formatter-enabled=false --linter-enabled=true --organize-imports-enabled=false --no-errors-on-unmatched .",
"start": "node --experimental-strip-types --experimental-transform-types server/server.ts build/server/index.js",
"start": "NODE_ENV=production node --experimental-strip-types --experimental-transform-types server/server.ts build/server/index.js",
"test": "vitest",
"test:unit": "vitest",
"typecheck": "react-router typegen && tsc"
Expand Down

0 comments on commit 68b8b43

Please sign in to comment.