Skip to content

Commit 47692fa

Browse files
natemoo-regithub-actions[bot]
authored andcommitted
[ci] format
1 parent ccb63b7 commit 47692fa

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

src/commands/build.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ import { build as tsdown } from "tsdown";
33
import type { CommandContext } from "../context.ts";
44

55
export 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
}

0 commit comments

Comments
 (0)