Skip to content

Commit 63aaeeb

Browse files
committed
fix: fix tsc path
1 parent c2fb7b3 commit 63aaeeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/targets/typescript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default async function build({
8080

8181
let tsc = options?.tsc
8282
? path.resolve(root, options.tsc)
83-
: path.join(root, 'node_modules') +
83+
: path.resolve(root, 'node_modules', '.bin', 'tsc') +
8484
(platform() === 'win32' ? '.cmd' : '');
8585

8686
if (!(await fs.pathExists(tsc))) {

0 commit comments

Comments
 (0)