File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1+ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.
2+ //
3+ // SPDX-License-Identifier: Apache-2.0
4+
5+ import dts from 'bun-plugin-dts' ;
6+
7+ await Bun . build ( {
8+ entrypoints : [ './src/index.ts' ] ,
9+ outdir : './dist' ,
10+ target : 'node' ,
11+ sourcemap : 'external' ,
12+ root : './src' ,
13+ plugins : [ dts ( ) ] ,
14+ } ) ;
Original file line number Diff line number Diff line change 77 "author" :
" aoife cassidy <[email protected] >" ,
88 "type" : " module" ,
99 "scripts" : {
10- "build" : " tsc " ,
10+ "build" : " bun run build.ts " ,
1111 "lint" : " eslint src"
1212 },
1313 "bin" : {
1414 "agents" : " dist/cli.js"
1515 },
1616 "devDependencies" : {
1717 "@types/bun" : " latest" ,
18+ "bun-plugin-dts" : " ^0.2.1" ,
1819 "eslint" : " ^8.57.0" ,
1920 "eslint-config-prettier" : " ^9.1.0" ,
2021 "eslint-plugin-prettier" : " ^5.1.3" ,
You can’t perform that action at this time.
0 commit comments