Skip to content

Commit 5eb285f

Browse files
natemoo-regithub-actions[bot]
authored andcommitted
[ci] format
1 parent f51c30b commit 5eb285f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/commands/build.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ export async function build(ctx: CommandContext) {
2525

2626
function ts(): Plugin {
2727
return {
28-
name: 'ts',
28+
name: "ts",
2929
setup(build) {
30-
build.onResolve({ filter: /\.tsx?$/ }, args => {
31-
return { path: args.path.replace(/\.tsx?$/, '.js'), external: true }
32-
})
30+
build.onResolve({ filter: /\.tsx?$/ }, (args) => {
31+
return { path: args.path.replace(/\.tsx?$/, ".js"), external: true };
32+
});
3333
},
34-
}
34+
};
3535
}
36-

0 commit comments

Comments
 (0)