From 3c9d382794b5a2fb27cd027861df2b5a8614fadb Mon Sep 17 00:00:00 2001 From: rorapp Date: Fri, 30 May 2025 12:30:29 +0200 Subject: [PATCH] add vite as a builder --- public/vite.svg | 1 + src/vite-env.d.ts | 1 + tsconfig.json | 25 +++++++++++++++++++++++++ vite.config.ts | 6 ++++++ 4 files changed, 33 insertions(+) create mode 100644 public/vite.svg create mode 100644 src/vite-env.d.ts create mode 100644 tsconfig.json create mode 100644 vite.config.ts diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..a22caba --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "erasableSyntaxOnly": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["src"] +} diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..90215f7 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,6 @@ +// vite.config.ts +import { defineConfig } from 'vite' +export default defineConfig({ + base: '/audio-app/', // <- wichtig! + }) + \ No newline at end of file