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 92e3d04 commit fbf0bdcCopy full SHA for fbf0bdc
build/build.node.ts
@@ -1588,6 +1588,7 @@ namespace $ {
1588
1589
line.replace(
1590
/\b(?:require|import)\(\s*['"]([^"'()]*?)['"]\s*\)/ig , ( str , path )=> {
1591
+ if( path.startsWith( 'node:' ) ) return str
1592
$mol_build_depsMerge( depends , { [ path ] : priority } )
1593
return str
1594
}
build/ensure/ensure.ts
@@ -53,8 +53,6 @@ namespace $ {
53
const mod = $mol_file.absolute( path )
54
const parent = mod.parent()
55
56
- if( mod.name().startsWith( 'node:' ) ) return true
57
-
58
if( mod !== this.root() ) this.ensure( parent.path() )
59
60
if (mod.exists() && mod.type() !== 'dir') return false
0 commit comments