color-synth

a synth that generates colors instead of sounds
Log | Files | Refs | README

svelte.config.js (770B)


      1 import adapter from '@sveltejs/adapter-static';
      2 import { vitePreprocess } from '@sveltejs/kit/vite';
      3 
      4 /** @type {import('@sveltejs/kit').Config} */
      5 const config = {
      6 	// Consult https://kit.svelte.dev/docs/integrations#preprocessors
      7 	// for more information about preprocessors
      8 	preprocess: vitePreprocess(),
      9 
     10 	kit: {
     11 		// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
     12 		// If your environment is not supported or you settled on a specific environment, switch out the adapter.
     13 		// See https://kit.svelte.dev/docs/adapters for more information about adapters.
     14 		adapter: adapter({
     15 			fallback: 'index.html' // may differ from host to host
     16 		}),
     17 		paths: {
     18 			base: '/color-synth'
     19 		}
     20 	}
     21 };
     22 
     23 export default config;