diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js index 78775cb9..3febe92a 100644 --- a/frontend/svelte.config.js +++ b/frontend/svelte.config.js @@ -24,7 +24,8 @@ const config = { $utils: './src/utils', $queries: './src/queries', $typesdefinitions: './src/types.d.ts', - }, + $src: './src' + } } }; diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 3ca21e74..3f595bd3 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -18,10 +18,11 @@ "$stores/*": ["src/stores/*"], "$styles/*": ["src/styles/*"], "$utils/*": ["src/utils/*"], + "$src/*": ["src/*"] } }, // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias // // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes - "include": ["src/**/*", "declarations.d.ts"], + "include": ["src/**/*", "declarations.d.ts"] }