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.
29 lines
960 B
29 lines
960 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: { |
|
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. |
|
// If your environment is not supported or you settled on a specific environment, switch out the adapter. |
|
// See https://kit.svelte.dev/docs/adapters for more information about adapters. |
|
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;
|
|
|