Skip to content

Commit 1a061bc

Browse files
authored
chore: update generate-node-libs (#51)
Refs: #50
1 parent dfb5d14 commit 1a061bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate-node-libs.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { join } from 'path';
44

55
for (const builtinModule of builtinModules) {
66
writeFile(new URL(join('nodelibs/node', `${builtinModule}.js`), import.meta.url), `\
7-
export { default } from 'node:${builtinModule}';
8-
export * from 'node:${builtinModule}';
7+
export { default } from '${builtinModule}';
8+
export * from '${builtinModule}';
99
`);
1010
}

0 commit comments

Comments
 (0)