diff --git a/src/commands/build.ts b/src/commands/build.ts index ed5b371..939ec68 100644 --- a/src/commands/build.ts +++ b/src/commands/build.ts @@ -3,18 +3,18 @@ import { build as tsdown } from "tsdown"; import type { CommandContext } from "../context.ts"; export async function build(ctx: CommandContext) { - const args = parse(ctx.args, { - boolean: ["bundle"], - }); + const args = parse(ctx.args, { + boolean: ["bundle"], + }); - const entry = args._.length > 0 ? args._.map(String) : ["src/**/*.ts"]; + const entry = args._.length > 0 ? args._.map(String) : ["src/**/*.ts"]; - await tsdown({ - config: false, - entry, - format: "esm", - sourcemap: true, - clean: true, - unbundle: !args.bundle, - }); + await tsdown({ + config: false, + entry, + format: "esm", + sourcemap: true, + clean: true, + unbundle: !args.bundle, + }); }