1
0
website/svelte.config.js
2024-10-06 16:41:34 +03:00

27 lines
614 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true,
trailingSlash: 'always'
})
},
preprocess: vitePreprocess({
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
})
};
export default config;