feat: add external dependencies to build configuration for app and remote entries
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user