Commit db94c85 1 parent fc6ae41 commit db94c85 Copy full SHA for db94c85
File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 5
5
# the webpack config using the `EnvironmentPlugin`.
6
6
# ------------------------------------------------------------------------------
7
7
8
+ # The environment the app is running in.
9
+ # Generally, this should stay as 'production' so that webpack and the bundlers
10
+ # know to optimize the build for best performance.
11
+ NODE_ENV = " production"
12
+
8
13
# App-specific environment variable.
9
14
# Similar purpose as NODE_ENV but for our own use, and at times
10
15
# may not be in sync with the NODE_ENV the app is running under.
Original file line number Diff line number Diff line change 1
- import { config as initializeDotenv } from 'dotenv' ;
1
+ import { config as initializeDotenv } from 'dotenv-flow ' ;
2
2
import { initializeLogging } from './logger' ;
3
3
import { initializeSentry } from './sentry' ;
4
4
Original file line number Diff line number Diff line change 67
67
"@sentry/electron" : " ^4.14.0" ,
68
68
"@sentry/nextjs" : " ^7.77.0" ,
69
69
"dotenv" : " ^16.3.1" ,
70
+ "dotenv-flow" : " ^4.0.1" ,
70
71
"electron-is-dev" : " ^2.0.0" ,
71
72
"electron-log" : " ^5.0.0" ,
72
73
"electron-serve" : " ^1.2.0" ,
Original file line number Diff line number Diff line change @@ -4176,7 +4176,14 @@ dotenv-expand@^5.1.0:
4176
4176
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
4177
4177
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==
4178
4178
4179
- dotenv@^16.3.1 :
4179
+ dotenv-flow@^4.0.1 :
4180
+ version "4.0.1"
4181
+ resolved "https://registry.yarnpkg.com/dotenv-flow/-/dotenv-flow-4.0.1.tgz#28686d1a454fb9d350e50a175375965a30492c30"
4182
+ integrity sha512-HuCQ487bSA43mtlxdWpyk5jt5Lljy+v1I8y/2l96gtjSve9p3OvJZCCOhQnz2hY4VhLogFfXpY20zBygMwaydA==
4183
+ dependencies :
4184
+ dotenv "^16.0.0"
4185
+
4186
+ dotenv@^16.0.0, dotenv@^16.3.1 :
4180
4187
version "16.3.1"
4181
4188
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e"
4182
4189
integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==
You can’t perform that action at this time.
0 commit comments