Files
starter-site-chirho/svelte.config.js
LoveJesus 35032fa988
Some checks failed
Deploy Site / deploy-chirho (push) Failing after 10s
Remove routes.exclude for Workers for Platforms compatibility
2026-01-13 04:47:44 +00:00

20 lines
528 B
JavaScript

// For God so loved the world — John 3:16
import adapter from '@sveltejs/adapter-cloudflare';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
// Remove routes.exclude so the worker handles all routes
// This is required for Workers for Platforms dispatch namespaces
// where static assets are not automatically served
})
}
};
export default config;
// JESUS CHRIST IS LORD