boredgame/svelte.config.js

23 lines
514 B
JavaScript
Raw Normal View History

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