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 5085eeb commit 92e3d04Copy full SHA for 92e3d04
build/ensure/ensure.ts
@@ -53,6 +53,8 @@ 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
build/ensure/npm/npm.ts
@@ -9,8 +9,6 @@ namespace $ {
9
const node = this.root().resolve( 'node' )
10
const node_modules = this.root().resolve( 'node_modules' )
11
12
- if( mod.name().startsWith( 'node:' ) ) return true
13
-
14
if(
15
[ node, node_modules ].includes( parent )
16
&& mod.name() !== 'node'
0 commit comments