1
0
mirror of https://github.com/khrysse/khrysse.github.io.git synced 2025-06-27 06:31:56 +00:00
gitRepository/svelte.config.js
2025-06-09 03:50:55 +02:00

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;