2023-11-18 04:13:36 +00:00
|
|
|
import adapter from '@sveltejs/adapter-static';
|
2024-02-17 13:35:51 +00:00
|
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
2022-09-08 15:30:49 +00:00
|
|
|
|
2022-05-21 07:23:55 +00:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2024-02-17 13:35:51 +00:00
|
|
|
preprocess: vitePreprocess(),
|
2023-07-01 04:50:47 +00:00
|
|
|
kit: {
|
2023-11-18 04:13:36 +00:00
|
|
|
adapter: adapter({
|
|
|
|
fallback: 'index.html',
|
2024-03-09 02:15:38 +00:00
|
|
|
precompress: true,
|
2023-11-18 04:13:36 +00:00
|
|
|
}),
|
2024-01-20 18:47:41 +00:00
|
|
|
alias: {
|
|
|
|
$lib: 'src/lib',
|
|
|
|
'$lib/*': 'src/lib/*',
|
|
|
|
'@test-data': 'src/test-data',
|
|
|
|
},
|
2023-07-01 04:50:47 +00:00
|
|
|
},
|
2022-05-21 07:23:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|