Skip to content

Commit 2a3ecff

Browse files
authored
fix: keep function/class names in bundle (#1701)
1 parent f41e821 commit 2a3ecff

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 --outfile=index.js lib/chai.js",
35+
"build": "esbuild --bundle --format=esm --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)