Skip to content

Commit e94a31f

Browse files
authored
fix: esnext-compatible output (#181)
1 parent 97103cd commit e94a31f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/commands/build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ export default defineCommand({
4848
{ input: 'src/runtime/', outDir: `${outDir}/runtime`, ext: 'mjs' }
4949
],
5050
rollup: {
51+
esbuild: {
52+
target: 'esnext'
53+
},
5154
emitCJS: false,
5255
cjsBridge: true
5356
},

0 commit comments

Comments
 (0)