From e5abb9e2263433a6a69bede021df0f40d5cf436a Mon Sep 17 00:00:00 2001 From: Einhornimmond Date: Sat, 3 May 2025 07:11:20 +0200 Subject: [PATCH] add build:bun (experimental) slightly faster and smaller as esbuild --- config-schema/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-schema/package.json b/config-schema/package.json index 22c17000c..b1ad43a9c 100644 --- a/config-schema/package.json +++ b/config-schema/package.json @@ -16,6 +16,7 @@ "private": true, "scripts": { "build": "esbuild src/index.ts --outdir=build --platform=node --target=node18.20.7 --bundle --packages=external", + "build:bun": "bun build --outdir=build --platform=bun --bundle --packages=external src/index.ts", "typecheck": "tsc --noEmit", "lint": "biome check --error-on-warnings .", "lint:fix": "biome check --error-on-warnings . --write" @@ -23,7 +24,6 @@ "devDependencies": { "@biomejs/biome": "1.9.4", "@types/node": "^17.0.21", - "bun": "^1.2.11", "esbuild": "^0.25.2", "typescript": "^4.9.5" },