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`