29 lines
491 B
JavaScript
29 lines
491 B
JavaScript
|
/*
|
||
|
import adapter from '@sveltejs/adapter-auto';
|
||
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||
|
|
||
|
const config = {
|
||
|
kit: {
|
||
|
adapter: adapter()
|
||
|
},
|
||
|
preprocess: vitePreprocess()
|
||
|
};
|
||
|
|
||
|
export default config;
|
||
|
|
||
|
*/
|
||
|
|
||
|
import adapter from '@sveltejs/adapter-static';
|
||
|
|
||
|
export default {
|
||
|
kit: {
|
||
|
adapter: adapter({
|
||
|
pages: 'build/public',
|
||
|
assets: 'build/public',
|
||
|
fallback: 'index.html',
|
||
|
precompress: false,
|
||
|
strict: true,
|
||
|
}),
|
||
|
//appDir: 'client'
|
||
|
}
|
||
|
};
|