feat: add external dependencies to build configuration for app and remote entries

This commit is contained in:
xiongxiao
2026-03-13 18:45:25 +08:00
committed by cnb
parent 641e373f3a
commit f7b01b41ee

View File

@@ -1,6 +1,7 @@
import { buildWithBun } from '@kevisual/code-builder'; 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 });