Skip to content

Commit

Permalink
fix: revert builtins from default externals
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 25, 2022
1 parent 558bce0 commit 0b808c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export async function build (rootDir: string, stub: boolean, inputConfig: BuildC
stub,
externals: [
...Module.builtinModules,
...Module.builtinModules.map(m => 'node:' + m),
'builtins'
...Module.builtinModules.map(m => 'node:' + m)
],
dependencies: [],
devDependencies: [],
Expand Down

0 comments on commit 0b808c6

Please sign in to comment.