flotilla/svelte.config.js

26 lines
836 B
JavaScript
Raw Normal View History

2024-08-05 22:25:04 +00:00
import * as path from "path"
2024-08-05 22:28:46 +00:00
import adapter from "@sveltejs/adapter-auto"
import {vitePreprocess} from "@sveltejs/vite-plugin-svelte"
2024-08-01 23:49:32 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2024-08-05 22:28:46 +00:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
2024-08-01 23:49:32 +00:00
2024-08-05 22:28:46 +00:00
kit: {
// 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(),
alias: {
2024-08-06 20:10:10 +00:00
'@src': "src",
'@app': "src/app",
'@lib': "src/lib",
'@assets': "src/assets",
2024-08-05 22:25:04 +00:00
},
2024-08-05 22:28:46 +00:00
},
}
2024-08-05 21:45:16 +00:00
2024-08-05 22:28:46 +00:00
export default config