boredgame/svelte.config.js

23 lines
539 B
JavaScript
Raw Normal View History

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 = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
adapter: adapter(),
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;