2022-05-21 07:23:55 +00:00
|
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
import adapter from '@sveltejs/adapter-node';
|
2022-07-11 02:41:45 +00:00
|
|
|
import path from 'path';
|
2022-05-21 07:23:55 +00:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
|
|
|
preprocess: preprocess(),
|
|
|
|
|
|
|
|
kit: {
|
|
|
|
adapter: adapter({ out: 'build' }),
|
|
|
|
methodOverride: {
|
2022-07-16 04:18:17 +00:00
|
|
|
allowed: ['PATCH', 'DELETE']
|
|
|
|
}
|
|
|
|
}
|
2022-05-21 07:23:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|