From 335a25a8f4661d21946ecae094b4cd83736cf166 Mon Sep 17 00:00:00 2001 From: R40fendt Date: Wed, 24 Dec 2025 15:40:01 +0100 Subject: [PATCH] TS Config Update, erster Test-Build --- .env.development | 1 + .env.production | 1 + package.json | 2 +- tsconfig.json | 12 ++++++------ 4 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 .env.development create mode 100644 .env.production diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..570d201 --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +VITE_BACKEND_URL=http://192.168.188.38/Jonas/ritzenbergenapi diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..6ceb5fe --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_BACKEND_URL=https://api.ritzenbergen.de diff --git a/package.json b/package.json index 2dfbdee..97cc867 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vue-tsc --noEmit && vite build", + "build": "vite build", "preview": "vite preview", "tauri": "tauri", "tauridev": "tauri dev", diff --git a/tsconfig.json b/tsconfig.json index f82888f..700ff63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,17 +8,17 @@ /* Bundler mode */ "moduleResolution": "bundler", - "allowImportingTsExtensions": true, "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true, + "noEmit": false, "jsx": "preserve", /* Linting */ - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "strict": false, + "noUnusedLocals": false, + "noUnusedParameters": false, + "noFallthroughCasesInSwitch": false , + "noEmitOnError": false }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], "references": [{ "path": "./tsconfig.node.json" }]