From b7cd3432f772c48b9faccef3e593ac0984720877 Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Wed, 11 Nov 2026 02:57:08 +0000 Subject: [PATCH] perf(dev): compile with the project's tsc without npx --- antelope.test.ts | 2 +- playground/antelope.config.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/antelope.test.ts b/antelope.test.ts index c2578ca..92ace3d 100644 --- a/antelope.test.ts +++ b/antelope.test.ts @@ -7,7 +7,7 @@ export default defineConfig({ source: { type: "local", path: ".", - installCommand: ["npx tsc --skipLibCheck"], + installCommand: ["node node_modules/typescript/bin/tsc --skipLibCheck"], }, }, }, diff --git a/playground/antelope.config.ts b/playground/antelope.config.ts index d8b0eb4..8a864f0 100644 --- a/playground/antelope.config.ts +++ b/playground/antelope.config.ts @@ -8,8 +8,8 @@ export default defineConfig({ type: "local", path: ".", watchDir: ["src"], - installCommand: ["npx tsc"], - reloadCommand: ["npx tsc"], + installCommand: ["node node_modules/typescript/bin/tsc"], + reloadCommand: ["node node_modules/typescript/bin/tsc"], }, }, "antelopejs-module": { @@ -17,8 +17,8 @@ export default defineConfig({ type: "local", path: "..", watchDir: ["src"], - installCommand: ["npx tsc"], - reloadCommand: ["npx tsc"], + installCommand: ["node node_modules/typescript/bin/tsc"], + reloadCommand: ["node node_modules/typescript/bin/tsc"], }, }, },