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 05e0850 commit 8400ff3Copy full SHA for 8400ff3
lib/internal/main/embedding.js
@@ -98,7 +98,7 @@ let warnedAboutBuiltins = false;
98
function embedderRequire(id) {
99
const normalizedId = normalizeRequirableId(id);
100
if (!normalizedId) {
101
- if (isLoadingSea && isExperimentalSeaWarningNeeded && !warnedAboutBuiltins) {
+ if (isLoadingSea && isExperimentalSeaWarningNeeded() && !warnedAboutBuiltins) {
102
emitWarningSync(
103
'Currently the require() provided to the main script embedded into ' +
104
'single-executable applications only supports loading built-in modules.\n' +
0 commit comments