mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-22 12:27:29 +01:00
bdc45fdf7f
* breaking: rename `legacy.componentApi` to `compatibility.legacyComponent` closes #12112 * fix * rename to compatibility.componentApi * update changeset * tidy up * default to 5 --------- Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
27 lines
421 B
JavaScript
27 lines
421 B
JavaScript
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
|
|
}
|
|
};
|