2023-02-24 12:46:41 +03:00
|
|
|
import staticAdapter from '@sveltejs/adapter-static';
|
2024-06-17 17:27:51 +03:00
|
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
2023-01-31 17:55:57 +03:00
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2023-02-24 12:46:41 +03:00
|
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
|
|
adapter: staticAdapter({
|
2023-04-25 13:35:19 +03:00
|
|
|
pages: 'build',
|
|
|
|
assets: 'build',
|
|
|
|
fallback: 'index.html',
|
2023-02-24 12:46:41 +03:00
|
|
|
precompress: true,
|
|
|
|
strict: false
|
|
|
|
})
|
2023-12-16 13:24:27 +03:00
|
|
|
},
|
2024-06-24 19:23:12 +03:00
|
|
|
compilerOptions: {
|
|
|
|
css: 'injected',
|
|
|
|
enableSourcemap: true
|
|
|
|
}
|
2023-01-31 17:55:57 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|