From 0b9061f2b8f5a26f8b49b47ff5c3c06cd94aeed2 Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Fri, 22 Aug 2025 17:49:42 +0100 Subject: [PATCH] fix: keep function/class names in bundle --- 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",