Configures a file import alias for ./src

This commit is contained in:
Alicia Sykes
2023-04-19 21:13:37 +01:00
parent 12171606e9
commit 983ac541ad

View File

@@ -11,7 +11,10 @@ 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/*',
},
}
};