Skip to content

Commit 110a1ea

Browse files
authored
Set esbuild target to es2021 to support Safari < 16.4 (#1737)
1 parent 40e6eb1 commit 110a1ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"main": "./index.js",
3434
"scripts": {
35-
"build": "esbuild --bundle --format=esm --keep-names --outfile=index.js lib/chai.js",
35+
"build": "esbuild --bundle --format=esm --target=es2021 --keep-names --outfile=index.js lib/chai.js",
3636
"prebuild": "npm run clean",
3737
"format": "prettier --write lib",
3838
"pretest": "npm run lint",

0 commit comments

Comments
 (0)