Skip to content

Commit

Permalink
fix build command
Browse files Browse the repository at this point in the history
  • Loading branch information
adryd325 committed Nov 16, 2023
1 parent fcb3777 commit 501d7ad
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build/build.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as esbuild from 'esbuild'

const context = await esbuild.context({
await esbuild.build({
entryPoints: ['src/index.js'],
bundle: true,
outfile: 'dist/webpackToolsRuntime.js',
logLevel: 'info',
target: [
'es2020',
],
})

await context.build()
})

0 comments on commit 501d7ad

Please sign in to comment.