We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51c30b commit 5eb285fCopy full SHA for 5eb285f
src/commands/build.ts
@@ -25,12 +25,11 @@ export async function build(ctx: CommandContext) {
25
26
function ts(): Plugin {
27
return {
28
- name: 'ts',
+ name: "ts",
29
setup(build) {
30
- build.onResolve({ filter: /\.tsx?$/ }, args => {
31
- return { path: args.path.replace(/\.tsx?$/, '.js'), external: true }
32
- })
+ build.onResolve({ filter: /\.tsx?$/ }, (args) => {
+ return { path: args.path.replace(/\.tsx?$/, ".js"), external: true };
+ });
33
},
34
- }
+ };
35
}
36
-
0 commit comments