Loggest thine Stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
579 B

  1. import preprocess from 'svelte-preprocess';
  2. import adapter from '@sveltejs/adapter-static';
  3. /** @type {import('@sveltejs/kit').Config} */
  4. const config = {
  5. // Consult https://github.com/sveltejs/svelte-preprocess
  6. // for more information about preprocessors
  7. preprocess: preprocess(),
  8. kit: {
  9. adapter: adapter({
  10. pages: 'build',
  11. assets: 'build',
  12. fallback: "index.html"
  13. }),
  14. prerender: {
  15. enabled: true,
  16. },
  17. vite: {
  18. resolve: {
  19. alias: {
  20. './runtimeConfig': './runtimeConfig.browser',
  21. },
  22. },
  23. }
  24. },
  25. };
  26. export default config;