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