You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/sites/svelte-5-preview/svelte.config.js

27 lines
421 B

import adapter from '@sveltejs/adapter-vercel';
/** @type {import('@sveltejs/kit').Config} */
export default {
compilerOptions: {
compatibility: {
// site-kit manually instantiates components inside an action
componentApi: 4
}
},
kit: {
adapter: adapter({
runtime: 'nodejs18.x'
}),
prerender: {
handleMissingId(details) {
// do nothing
}
}
},
vitePlugin: {
inspector: false
}
};