build(opencode): shrink single-file executable size (#22362)

This commit is contained in:
Luke Parker 2026-04-14 15:49:26 +10:00 committed by GitHub
parent f954854232
commit 9b2648dd57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,6 +197,9 @@ for (const item of targets) {
tsconfig: "./tsconfig.json",
plugins: [plugin],
external: ["node-gyp"],
format: "esm",
minify: true,
splitting: true,
compile: {
autoloadBunfig: false,
autoloadDotenv: false,