Skip to content

Commit

Permalink
perf: esbuild target node>=16
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Jan 3, 2024
1 parent cc27cd1 commit b3f5ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export async function transformWithEsbuild(
entryPoints: [entryPoint],
outfile: 'out.js',
write: false,
target: ['node14.18', 'node16'],
target: ['node16'],
platform: 'node',
bundle: true,
metafile: true,
Expand Down

0 comments on commit b3f5ae9

Please sign in to comment.