File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ import { build as tsdown } from "tsdown";
33import type { CommandContext } from "../context.ts" ;
44
55export async function build ( ctx : CommandContext ) {
6- const args = parse ( ctx . args , {
7- boolean : [ "bundle" ] ,
8- } ) ;
6+ const args = parse ( ctx . args , {
7+ boolean : [ "bundle" ] ,
8+ } ) ;
99
10- const entry = args . _ . length > 0 ? args . _ . map ( String ) : [ "src/**/*.ts" ] ;
10+ const entry = args . _ . length > 0 ? args . _ . map ( String ) : [ "src/**/*.ts" ] ;
1111
12- await tsdown ( {
13- config : false ,
14- entry,
15- format : "esm" ,
16- sourcemap : true ,
17- clean : true ,
18- unbundle : ! args . bundle ,
19- } ) ;
12+ await tsdown ( {
13+ config : false ,
14+ entry,
15+ format : "esm" ,
16+ sourcemap : true ,
17+ clean : true ,
18+ unbundle : ! args . bundle ,
19+ } ) ;
2020}
You can’t perform that action at this time.
0 commit comments