Skip to content

Commit 7bef9ab

Browse files
authored
Merge pull request #175 from streamdevs/165-obey-env-file
fix: Preload dotenv/config so .env variables are loaded
2 parents 2a43eed + a55a1b1 commit 7bef9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"compile:check": "yarn compile --noEmit",
55
"test": "jest",
66
"test:watch": "jest --watch",
7-
"start": "node dist/index.js",
7+
"start": "node -r dotenv/config dist/index.js",
88
"ci:lint": "eslint --ext .ts --ignore-path .gitignore .",
99
"ci:format": "prettier --ignore-path .gitignore -l .",
1010
"lint": "yarn run ci:lint --fix",

0 commit comments

Comments
 (0)