Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
fix: correct production environment variables (#1123)
Browse files Browse the repository at this point in the history
fixes #1107
  • Loading branch information
0-vortex committed Aug 3, 2021
1 parent 900495a commit 63809b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = "production";
process.env.NODE_ENV = "production";
process.env.CI = "false";

// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will
Expand Down

0 comments on commit 63809b0

Please sign in to comment.