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 9a321dd commit adf889dCopy full SHA for adf889d
lib/internal/process/pre_execution.js
@@ -688,6 +688,8 @@ function initializeCJSLoader() {
688
}
689
690
function initializeESMLoader(isLoaderWorker) {
691
+ if (getEmbedderOptions().shouldNotRegisterESMLoader) return;
692
+
693
const { initializeESM } = require('internal/modules/esm/utils');
694
initializeESM(isLoaderWorker);
695
0 commit comments