We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no_browser_globals
true
1 parent ec5b594 commit 53e2e8cCopy full SHA for 53e2e8c
lib/internal/bootstrap/pre_execution.js
@@ -186,7 +186,8 @@ function setupFetch() {
186
// TODO(aduh95): move this to internal/bootstrap/browser when the CLI flag is
187
// removed.
188
function setupWebCrypto() {
189
- if (!getOptionValue('--experimental-global-webcrypto')) {
+ if (process.config.variables.node_no_browser_globals ||
190
+ !getOptionValue('--experimental-global-webcrypto')) {
191
return;
192
}
193
0 commit comments