boredgame/svelte.config.js

29 lines
576 B
JavaScript
Raw Normal View History

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 = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [
vitePreprocess({
postcss: true,
}),
],
kit: {
adapter: adapter(),
alias: {
$root: './src'
},
},
vitePlugin: {
experimental: {
inspector: {
toggleKeyCombo: 'control-alt-shift',
},
},
},
2022-01-28 05:27:12 +00:00
};
export default config;