Skip to content

Commit fa54e9f

Browse files
natemoo-regithub-actions[bot]
authored andcommitted
[ci] format
1 parent a9d2216 commit fa54e9f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/commands/build.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ 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"],
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
}

0 commit comments

Comments
 (0)