Skip to content

Commit 16ce5c6

Browse files
committed
preserve names in esbuild bundle
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent ff26911 commit 16ce5c6

3 files changed

Lines changed: 190 additions & 190 deletions

File tree

dist/index.cjs

Lines changed: 187 additions & 187 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.cjs.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"main": "src/main.ts",
66
"scripts": {
7-
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify && yarn run license",
7+
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify --keep-names && yarn run license",
88
"lint": "eslint --max-warnings=0 .",
99
"format": "eslint --fix .",
1010
"test": "vitest run",

0 commit comments

Comments
 (0)