clone of repo on github
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.
 
 
 
 

27 lines
677 B

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess()],
kit: {
// Static adapter
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: null, // TODO: Create a 404.html page.
precompress: false,
strict: true,
}),
alias: {
$lib: 'src/lib',
$components: 'src/lib/components',
$cards: 'src/lib/cards'
}
}
};
export default config;