This commit is contained in:
stjet
2024-11-12 01:24:53 +00:00
commit 75883a3e8a
27 changed files with 4321 additions and 0 deletions

19
svelte.config.js Normal file
View File

@@ -0,0 +1,19 @@
/*
import adapter from '@sveltejs/adapter-auto';
*/
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import adapter from '@sveltejs/adapter-cloudflare';
export default {
// Consult https://svelte.dev/docs/kit/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter(),
}
};