27 lines
614 B
JavaScript
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;
|