Skip to content

The open source coding agent.

TypeScript

write typescript artifacts to node_modules/.ts-dist

Brendan Allan53d2edc0f2b2
diff --git a/packages/desktop/tsconfig.json b/packages/desktop/tsconfig.json
index 6f517eb63b2..db04f79cae5 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 b21529450c7..e7f5c5c2798 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"]