File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,20 +3,20 @@ 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" , "dts" , "minify" ] ,
8- } ) ;
6+ const args = parse ( ctx . args , {
7+ boolean : [ "bundle" , "dts" , "minify" ] ,
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- dts : args . dts ,
20- minify : args . minify ,
21- } ) ;
12+ await tsdown ( {
13+ config : false ,
14+ entry,
15+ format : "esm" ,
16+ sourcemap : true ,
17+ clean : true ,
18+ unbundle : ! args . bundle ,
19+ dts : args . dts ,
20+ minify : args . minify ,
21+ } ) ;
2222}
You can’t perform that action at this time.
0 commit comments