Skip to content

Commit 78d7c1b

Browse files
committed
refactor: add .env file to sharedGlobals inputs
1 parent 1016633 commit 78d7c1b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nx.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@
4141
{ "env": "NODE_OPTIONS" },
4242
{ "env": "TSX_TSCONFIG_PATH" }
4343
],
44-
"sharedGlobals": [{ "runtime": "node -v" }, { "runtime": "npm -v" }]
44+
"sharedGlobals": [
45+
{ "runtime": "node -v" },
46+
{ "runtime": "npm -v" },
47+
"{workspaceRoot}/.env.local"
48+
]
4549
},
4650
"targetDefaults": {
4751
"lint": {

0 commit comments

Comments
 (0)