2022-07-07 22:56:15 +00:00
|
|
|
import adapter from '@sveltejs/adapter-auto';
|
2022-01-28 05:27:12 +00:00
|
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
|
const config = {
|
2022-07-07 19:32:55 +00:00
|
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
|
|
|
// for more information about preprocessors
|
|
|
|
|
preprocess: preprocess(),
|
|
|
|
|
kit: {
|
2022-07-07 22:56:15 +00:00
|
|
|
adapter: adapter(),
|
2022-07-07 19:32:55 +00:00
|
|
|
alias: {
|
|
|
|
|
$components: 'src/components',
|
|
|
|
|
$root: './src'
|
|
|
|
|
},
|
|
|
|
|
// Override http methods in the Todo forms
|
|
|
|
|
methodOverride: {
|
|
|
|
|
allowed: ['PATCH', 'DELETE']
|
2022-07-28 00:05:54 +00:00
|
|
|
}
|
|
|
|
|
}
|
2022-01-28 05:27:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|