mirror of
https://github.com/khrysse/khrysse.github.io.git
synced 2025-06-27 14:41:54 +00:00
19 lines
383 B
JavaScript
19 lines
383 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
|
|
fallback: '404.html',
|
|
precompress: true,
|
|
strict: true
|
|
}),
|
|
paths: {
|
|
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|