build: add production flag to build and release scripts
ci / check (macos-latest) (push) Canceled after 0s
ci / check (ubuntu-latest) (push) Canceled after 0s
ci / check (windows-latest) (push) Canceled after 0s

This commit is contained in:
asepharyana
2026-09-09 20:53:30 +07:00
parent 7a1e415fea
commit 14d603f296
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ const OUT = 'dist/release';
* failing on the last of five builds.
*/
export function buildArgs(t: Target, outfile: string, host = process.platform): string[] {
const args = ['build', '--compile', '--minify', `--target=${t.target}`, 'src/cli.tsx', '--outfile', outfile];
const args = ['build', '--compile', '--production', '--minify', `--target=${t.target}`, 'src/cli.tsx', '--outfile', outfile];
if (t.windows && host === 'win32') {
args.push(
'--windows-title=shiro-neko',