2023-01-22 00:13:42 +00:00
|
|
|
import adapter from '@sveltejs/adapter-auto';
|
2023-01-28 19:31:58 +00:00
|
|
|
// import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
|
|
|
import preprocess from 'svelte-preprocess';
|
2023-01-22 00:13:42 +00:00
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
|
const config = {
|
|
|
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
|
|
|
// for more information about preprocessors
|
2023-01-28 19:31:58 +00:00
|
|
|
preprocess: [
|
|
|
|
|
preprocess({
|
|
|
|
|
postcss: true
|
|
|
|
|
})
|
|
|
|
|
],
|
2023-01-22 00:13:42 +00:00
|
|
|
kit: {
|
2023-01-28 19:31:58 +00:00
|
|
|
adapter: adapter(),
|
|
|
|
|
alias: {
|
|
|
|
|
$root: './src'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
vitePlugin: {
|
|
|
|
|
experimental: {
|
|
|
|
|
inspector: {
|
|
|
|
|
toggleKeyCombo: 'control-alt-shift'
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-01-22 00:13:42 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|