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:20:05 +02:00

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;