Skip to content

Commit 489aeaa

Browse files
authored
docs(configuration): add output.environment.nodePrefixForCoreModules (#7272)
1 parent be6b427 commit 489aeaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/configuration/output.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,9 @@ module.exports = {
496496
globalThis: true,
497497
// The environment supports ECMAScript Module syntax to import ECMAScript modules (import ... from '...').
498498
module: false,
499+
// Determines if the node: prefix is generated for core module imports in environments that support it.
500+
// This is only applicable to Webpack runtime code.
501+
nodePrefixForCoreModules: false,
499502
// The environment supports optional chaining ('obj?.a' or 'obj?.()').
500503
optionalChaining: true,
501504
// The environment supports template literals.

0 commit comments

Comments
 (0)