From f7b01b41ee5643fb493d0a774c8fb9723fa1cab3 Mon Sep 17 00:00:00 2001 From: xiongxiao Date: Fri, 13 Mar 2026 18:45:25 +0800 Subject: [PATCH] feat: add external dependencies to build configuration for app and remote entries --- bun.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bun.config.ts b/bun.config.ts index 3908c3e..5e02e04 100644 --- a/bun.config.ts +++ b/bun.config.ts @@ -1,6 +1,7 @@ import { buildWithBun } from '@kevisual/code-builder'; -await buildWithBun({ naming: 'app', entry: 'src/index.ts', dts: true, clean: true }); +const external = ['@parcel/watcher'] +await buildWithBun({ naming: 'app', entry: 'src/index.ts', dts: true, clean: true, external }); -await buildWithBun({ naming: 'remote', entry: 'src/remote.ts', dts: true }); +await buildWithBun({ naming: 'remote', entry: 'src/remote.ts', dts: true, external });