Skip to content

Commit 6e32c72

Browse files
authored
fix: ⚡ Adds minify-syntax and minify-whitespace (#35)
Bun build's `--minify` breaks Logestic's build, further identified it's specifically `--minify-identifiers` that is causing the issue
1 parent 8b9bf08 commit 6e32c72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"module": "src/index.ts",
2525
"type": "module",
2626
"scripts": {
27-
"build": "rimraf dist && bun build src/index.ts --outdir dist --target bun -e elysia && tsc",
27+
"build": "rimraf dist && bun build src/index.ts --outdir dist --target bun --minify-syntax --minify-whitespace -e elysia && tsc",
2828
"test": "bun test",
2929
"preview": "bun run --cwd preview dev",
3030
"prepublishOnly": "bun run build && { echo '/*'; cat LICENSE; echo '*/'; cat dist/index.js; } > /tmp/index.js && mv /tmp/index.js dist/index.js"
@@ -46,4 +46,4 @@
4646
"dependencies": {
4747
"chalk": "^5.3.0"
4848
}
49-
}
49+
}

0 commit comments

Comments
 (0)