svelte.config.js 554 B

123456789101112131415
  1. import adapter from '@sveltejs/adapter-static';
  2. import { vitePreprocess } from '@sveltejs/kit/vite';
  3. /** @type {import('@sveltejs/kit').Config} */
  4. const config = {
  5. kit: {
  6. // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
  7. // If your environment is not supported or you settled on a specific environment, switch out the adapter.
  8. // See https://kit.svelte.dev/docs/adapters for more information about adapters.
  9. adapter: adapter()
  10. },
  11. preprocess: vitePreprocess()
  12. };
  13. export default config;