- Create robots.txt to allow all user agents and specify sitemap location - Add site.webmanifest for PWA support with app details - Initialize sitemap.xml with the homepage URL and metadata - Set up svelte.config.js for SvelteKit with static adapter and prerendering - Configure TypeScript with tsconfig.json for strict type checking and module resolution - Establish Vite configuration in vite.config.ts for SvelteKit integration
17 lines
302 B
JavaScript
17 lines
302 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: undefined
|
|
}),
|
|
prerender: {
|
|
entries: ['*']
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|