From 2a3ecff347dd4a354b20c953ef6f6d5dc99f851a Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Fri, 22 Aug 2025 17:51:56 +0100 Subject: [PATCH] fix: keep function/class names in bundle (#1701) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e50f0cc4..213ef454 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "main": "./index.js", "scripts": { - "build": "esbuild --bundle --format=esm --outfile=index.js lib/chai.js", + "build": "esbuild --bundle --format=esm --keep-names --outfile=index.js lib/chai.js", "prebuild": "npm run clean", "format": "prettier --write lib", "pretest": "npm run lint",