Skip to content

Commit 19443a4

Browse files
author
李燃东
committed
config: Compatible with low-version browsers.
1 parent ceb8d4c commit 19443a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.esbuild/util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const buildOptions = (override: BuildOptions): BuildOptions => {
2929
minify: true,
3030
keepNames: true,
3131
platform: 'browser',
32+
target: 'es2015',
3233
tsconfig: 'tsconfig.json',
3334
resolveExtensions: ['.ts', '.js', '.json', '.jison', '.yaml'],
3435
external: ['require', 'fs', 'path'],

0 commit comments

Comments
 (0)