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 4c4bd1c commit 15bcb4cCopy full SHA for 15bcb4c
lib/internal/bootstrap/pre_execution.js
@@ -167,7 +167,8 @@ function setupFetch() {
167
// TODO(aduh95): move this to internal/bootstrap/browser when the CLI flag is
168
// removed.
169
function setupWebCrypto() {
170
- if (!getOptionValue('--experimental-global-webcrypto')) {
+ if (process.config.variables.node_no_browser_globals ||
171
+ !getOptionValue('--experimental-global-webcrypto')) {
172
return;
173
}
174
0 commit comments