Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 48cd568

Browse files
authored
Merge pull request #261 from Nodi3d/feature/fix-bug-in-barrel
Fix a bug in barrel.
2 parents f0d0ea7 + 64addee commit 48cd568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/preprocess/barrel.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ list.forEach(fullpath => {
8282
}
8383

8484
const name = trace[trace.length - 1];
85-
if (name === 'index' || name === 'NodeDictionary') return;
85+
if (name === 'index' || name === 'NodeDictionary' || name === 'NodeUtils') return;
8686

8787
const path = `./${trace.join('/')}`;
8888
program.push(`import { ${name} } from '${path}';`);

0 commit comments

Comments
 (0)