Skip to content

Commit

Permalink
fix: esbuild target
Browse files Browse the repository at this point in the history
release
  • Loading branch information
hemengke1997 committed Apr 24, 2024
1 parent 84b85f0 commit edc33d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/istanbul-widget/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const common = (option: Options): Options => ({
outExtension: () => ({ js: '.js' }),
outDir: 'dist',
minify: !option.watch,
target: ['es3'],
target: 'es3',
define: {
'__VERSION__': JSON.stringify(pkg.version),
'process.env.NODE_ENV': JSON.stringify(option.watch ? 'development' : 'production'),
Expand Down

0 comments on commit edc33d0

Please sign in to comment.