Просмотр исходного кода

write typescript artifacts to node_modules/.ts-dist

Brendan Allan 4 месяцев назад
Родитель
Сommit
53d2edc0f2
2 измененных файлов с 15 добавлено и 3 удалено
  1. 1 1
      packages/desktop/tsconfig.json
  2. 14 2
      packages/tauri/tsconfig.json

+ 1 - 1
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/*"]

+ 14 - 2
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"]