midou36o.github.io/svelte.config.js

25 lines
540 B
JavaScript
Raw Normal View History

2023-07-24 22:11:54 +05:30
// import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
2023-01-19 22:35:09 +05:30
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
2023-07-24 22:11:54 +05:30
adapter: adapter(
{
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: false,
strict: true
}
)
2023-01-19 22:35:09 +05:30
}
};
export default config;