Skip to content

Commit 72e4a24

Browse files
committed
Revert "Convince esbuild to build"
This reverts commit d822bda.
1 parent 466c1ed commit 72e4a24

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const versionPlugin = {
4444

4545
const result = await esbuild.build({
4646
format: 'esm',
47-
platform: 'node',
4847
entryPoints: [MAIN_ENTRY, CLI_ENTRY],
4948
bundle: true,
5049
outdir: path.join('dist', 'validator'),
@@ -58,7 +57,6 @@ const result = await esbuild.build({
5857
],
5958
allowOverwrite: true,
6059
sourcemap: flags.minify ? false : 'inline',
61-
external: ['encoding'],
6260
})
6361

6462
if (result.warnings.length > 0) {

0 commit comments

Comments
 (0)