We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b71554a commit 26f6873Copy full SHA for 26f6873
automation/ts-node.env.js
@@ -1,7 +1,10 @@
1
-let env_vars = {
2
- TS_NODE_PROJECT:'./automation/tsconfig.json',
3
- TS_NODE_FILES:true
+module.exports = {
+ TS_NODE_PROJECT: './automation/tsconfig.json',
+ TS_NODE_FILES: true
4
};
5
-if (process.version.match(/^v(\d+)/)[1]>16)
6
- env_vars['NODE_OPTIONS']='--openssl-legacy-provider';
7
-module.exports = env_vars;
+
+// WebPack 4 and some other details require old OpenSSL providers when
+// running in Node v17+:
8
+if (process.version.match(/^v(\d+)/)[1] > 16) {
9
+ module.exports['NODE_OPTIONS'] = '--openssl-legacy-provider';
10
+}
0 commit comments