We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61c3763 commit 7d6c61eCopy full SHA for 7d6c61e
src/commands/build.ts
@@ -3,18 +3,18 @@ import { build as tsdown } from "tsdown";
3
import type { CommandContext } from "../context.ts";
4
5
export async function build(ctx: CommandContext) {
6
- const args = parse(ctx.args, {
7
- boolean: ["bundle"],
8
- });
+ const args = parse(ctx.args, {
+ boolean: ["bundle"],
+ });
9
10
- const entry = args._.length > 0 ? args._.map(String) : ["src"];
+ const entry = args._.length > 0 ? args._.map(String) : ["src"];
11
12
- await tsdown({
13
- config: false,
14
- entry,
15
- format: "esm",
16
- sourcemap: true,
17
- clean: true,
18
- unbundle: !args.bundle,
19
+ await tsdown({
+ config: false,
+ entry,
+ format: "esm",
+ sourcemap: true,
+ clean: true,
+ unbundle: !args.bundle,
20
}
0 commit comments