summaryrefslogtreecommitdiffhomepage
path: root/packages/tauri/tsconfig.json
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2025-12-09 19:13:51 +0800
committerBrendan Allan <[email protected]>2025-12-09 19:13:51 +0800
commit0a47a3cea0256642bb4cb38112669cdace7732e5 (patch)
treeee7a9e73568a6708a5b7e0d2d0ac62dd8937e3d4 /packages/tauri/tsconfig.json
parent306d57fcde02b34cb486a3d539421b6877f04167 (diff)
downloadopencode-0a47a3cea0256642bb4cb38112669cdace7732e5.tar.gz
opencode-0a47a3cea0256642bb4cb38112669cdace7732e5.zip
fix: use ts project references for desktop and tauri
Diffstat (limited to 'packages/tauri/tsconfig.json')
-rw-r--r--packages/tauri/tsconfig.json24
1 files changed, 3 insertions, 21 deletions
diff --git a/packages/tauri/tsconfig.json b/packages/tauri/tsconfig.json
index cf73096e5..b21529450 100644
--- a/packages/tauri/tsconfig.json
+++ b/packages/tauri/tsconfig.json
@@ -1,26 +1,8 @@
{
+ "extends": "../desktop/tsconfig.json",
"compilerOptions": {
- "target": "ES2020",
- "useDefineForClassFields": true,
- "module": "ESNext",
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
- "skipLibCheck": true,
-
- /* Bundler mode */
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true,
-
- /* Linting */
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true,
-
- "jsx": "preserve",
- "jsxImportSource": "solid-js"
+ "outDir": "ts-dist"
},
+ "references": [{ "path": "../desktop" }],
"include": ["src"]
}