From 52a9bc6d4761fd147ab13552dba097fc33517dce Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 8 Oct 2024 17:21:00 +0200 Subject: [PATCH] chore: remove postcompile --- package.json | 5 ++--- scripts/post-compile.ts | 4 ---- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 scripts/post-compile.ts diff --git a/package.json b/package.json index b5897b6..7ab735f 100644 --- a/package.json +++ b/package.json @@ -42,9 +42,8 @@ }, "files": ["dist", "scripts", "src"], "scripts": { - "build": "bun build.ts", - "compile": "bun build ./bin/cli.ts --compile --external rollup --minify --sourcemap --outfile dist/reverse-proxy", - "postcompile": "bun ./scripts/post-compile.ts", + "build": "bun build.ts && bun run compile", + "compile": "bun build ./bin/cli.ts --compile --minify --outfile dist/reverse-proxy", "lint": "bunx biome check .", "lint:fix": "bunx biome check --apply .", "lint:fix-unsafe": "bunx biome check --apply-unsafe .", diff --git a/scripts/post-compile.ts b/scripts/post-compile.ts deleted file mode 100644 index c38c258..0000000 --- a/scripts/post-compile.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { $ } from 'bun' - -await $`mv ./bin/reverse-proxy ./dist/reverse-proxy` -await $`cp ./dist/reverse-proxy ./rp`