From 53d2edc0f2b2c764959229f7a7235fc2757a6b48 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Thu, 11 Dec 2025 18:35:07 +0800 Subject: [PATCH] write typescript artifacts to node_modules/.ts-dist --- packages/desktop/tsconfig.json | 2 +- packages/tauri/tsconfig.json | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/desktop/tsconfig.json b/packages/desktop/tsconfig.json index 6f517eb63..db04f79ca 100644 --- a/packages/desktop/tsconfig.json +++ b/packages/desktop/tsconfig.json @@ -14,7 +14,7 @@ "strict": true, "noEmit": false, "emitDeclarationOnly": true, - "outDir": "ts-dist", + "outDir": "node_modules/.ts-dist", "isolatedModules": true, "paths": { "@/*": ["./src/*"] diff --git a/packages/tauri/tsconfig.json b/packages/tauri/tsconfig.json index b21529450..e7f5c5c27 100644 --- a/packages/tauri/tsconfig.json +++ b/packages/tauri/tsconfig.json @@ -1,7 +1,19 @@ { - "extends": "../desktop/tsconfig.json", "compilerOptions": { - "outDir": "ts-dist" + "target": "ESNext", + "module": "ESNext", + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "isolatedModules": true, + "noEmit": true, + "emitDeclarationOnly": false, + "outDir": "node_modules/.ts-dist" }, "references": [{ "path": "../desktop" }], "include": ["src"]