chore(*): Add base sveltekit and netlify files

This commit is contained in:
Josh Creek
2023-06-30 14:17:40 +01:00
parent b13eb30b0a
commit 83be699e23
7 changed files with 18254 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import adapter from '@sveltejs/adapter-netlify';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// default options are shown
adapter: adapter({
// if true, will create a Netlify Edge Function rather
// than using standard Node-based functions
edge: false,
// if true, will split your app into multiple functions
// instead of creating a single one for the entire app.
// if `edge` is true, this option cannot be used
split: false
})
}
};
export default config;