diff --git a/webapp/.gitignore b/webapp/.gitignore index f4401a3..969ffa1 100644 --- a/webapp/.gitignore +++ b/webapp/.gitignore @@ -1,7 +1,8 @@ .DS_Store node_modules /build -/.svelte-kit +/.svelte-kit/* +!/.svelte-kit/tsconfig.json /package .env .env.* diff --git a/webapp/.svelte-kit/tsconfig.json b/webapp/.svelte-kit/tsconfig.json new file mode 100644 index 0000000..c6c8be8 --- /dev/null +++ b/webapp/.svelte-kit/tsconfig.json @@ -0,0 +1,46 @@ +{ + "compilerOptions": { + "baseUrl": "..", + "paths": { + "$lib": [ + "src/lib" + ], + "$lib/*": [ + "src/lib/*" + ] + }, + "rootDirs": [ + "..", + "./types" + ], + "importsNotUsedAsValues": "error", + "isolatedModules": true, + "preserveValueImports": true, + "lib": [ + "esnext", + "DOM", + "DOM.Iterable" + ], + "moduleResolution": "node", + "module": "esnext", + "target": "esnext" + }, + "include": [ + "ambient.d.ts", + "./types/**/$types.d.ts", + "../vite.config.ts", + "../src/**/*.js", + "../src/**/*.ts", + "../src/**/*.svelte", + "../src/**/*.js", + "../src/**/*.ts", + "../src/**/*.svelte", + "../tests/**/*.js", + "../tests/**/*.ts", + "../tests/**/*.svelte" + ], + "exclude": [ + "../node_modules/**", + "./[!ambient.d.ts]**" + ] +} \ No newline at end of file