Skip to content

Commit

Permalink
add: src path
Browse files Browse the repository at this point in the history
  • Loading branch information
goranbs committed Mar 22, 2024
1 parent b6eff18 commit 7544af9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const config = {
$utils: './src/utils',
$queries: './src/queries',
$typesdefinitions: './src/types.d.ts',
},
$src: './src'
}
}
};

Expand Down
3 changes: 2 additions & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}

0 comments on commit 7544af9

Please sign in to comment.