boredgame/svelte.config.js

30 lines
583 B
JavaScript
Raw Normal View History

2023-05-25 04:19:08 +00:00
import preprocess from 'svelte-preprocess';
2022-12-27 06:57:53 +00:00
import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/kit/vite';
2022-01-28 05:27:12 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2023-05-25 04:19:08 +00:00
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
2023-05-25 04:19:08 +00:00
preprocess: [
vitePreprocess({
postcss: true
}),
preprocess({
postcss: true
})
],
vitePlugin: {
inspector: true,
},
2023-05-25 04:19:08 +00:00
kit: {
adapter: adapter(),
alias: {
$lib: './src/lib',
2023-05-25 04:19:08 +00:00
$styles: './src/styles',
}
},
2022-01-28 05:27:12 +00:00
};
export default config;