Skip to content

Commit b99c928

Browse files
authored
Merge pull request #1567 from crazy-max/fix-esbuild
preserve names in esbuild bundle
2 parents ff26911 + 16ce5c6 commit b99c928

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)