We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 466c1ed commit 72e4a24Copy full SHA for 72e4a24
build.ts
@@ -44,7 +44,6 @@ const versionPlugin = {
44
45
const result = await esbuild.build({
46
format: 'esm',
47
- platform: 'node',
48
entryPoints: [MAIN_ENTRY, CLI_ENTRY],
49
bundle: true,
50
outdir: path.join('dist', 'validator'),
@@ -58,7 +57,6 @@ const result = await esbuild.build({
58
57
],
59
allowOverwrite: true,
60
sourcemap: flags.minify ? false : 'inline',
61
- external: ['encoding'],
62
})
63
64
if (result.warnings.length > 0) {
0 commit comments