-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Conditionally use legacy ssl for newer node versions and our old…
…er webpack Switch to dynamic ENV file for conditional env vars Closes #76
- Loading branch information
1 parent
8382e60
commit b71554a
Showing
3 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let env_vars = { | ||
TS_NODE_PROJECT:'./automation/tsconfig.json', | ||
TS_NODE_FILES:true | ||
}; | ||
if (process.version.match(/^v(\d+)/)[1]>16) | ||
env_vars['NODE_OPTIONS']='--openssl-legacy-provider'; | ||
module.exports = env_vars; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters