mirror of
https://github.com/khrysse/khrysse.github.io.git
synced 2025-06-27 14:41:54 +00:00
21 lines
429 B
JavaScript
21 lines
429 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter({
|
|
// default options are shown. On some platforms
|
|
// these options are set automatically — see below
|
|
pages: 'build',
|
|
assets: 'build/assets',
|
|
fallback: '404.html',
|
|
precompress: true,
|
|
strict: true
|
|
}),
|
|
paths: {
|
|
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|