Skip to content

Commit

Permalink
build: adapt alias for sveltekit v2 (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker authored Jan 3, 2024
1 parent a619199 commit 4bb5abb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const config = {

kit: {
adapter: adapter(),
alias: {
$docs: "./src/docs",
},
serviceWorker: {
register: false,
},
Expand Down
8 changes: 1 addition & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"paths": {
"$lib": ["./src/lib"],
"$lib/*": ["./src/lib/*"],
"$docs": ["./src/docs"],
"$docs/*": ["./src/docs/*"]
}
"strict": true
},
"exclude": [
"src/stories/**/*",
Expand Down

0 comments on commit 4bb5abb

Please sign in to comment.