Get some typescript stuff working

This commit is contained in:
Jon Staab
2024-08-05 15:25:04 -07:00
parent eaa8c20d0b
commit 856a5cecc4
5 changed files with 54 additions and 23 deletions
+8 -1
View File
@@ -1,3 +1,4 @@
import * as path from "path"
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
@@ -11,7 +12,13 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
adapter: adapter(),
alias: {
'src': "src",
'app': "src/app",
'lib': "src/lib",
'assets': "src/assets",
},
}
};