svelte.config.js 876 B

1234567891011121314151617181920212223242526
  1. import adapter from '@sveltejs/adapter-static';
  2. import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
  3. /** @type {import('@sveltejs/kit').Config} */
  4. const config = {
  5. // Consult https://svelte.dev/docs/kit/integrations
  6. // for more information about preprocessors
  7. preprocess: vitePreprocess(),
  8. kit: {
  9. // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
  10. // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
  11. // See https://svelte.dev/docs/kit/adapters for more information about adapters.
  12. adapter: adapter({
  13. // default options are shown. On some platforms
  14. // these options are set automatically — see below
  15. pages: 'dist',
  16. assets: 'dist',
  17. fallback: undefined,
  18. precompress: false,
  19. strict: true
  20. })
  21. }
  22. };
  23. export default config;