Files
gpx.studio/website/svelte.config.js

22 lines
545 B
JavaScript
Raw Normal View History

2024-04-20 15:43:44 +02:00
import adapter from '@sveltejs/adapter-static';
2024-04-03 16:13:42 +02:00
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
2024-04-20 15:43:44 +02:00
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: false,
strict: true
}),
paths: {
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
}
}
2024-04-03 16:13:42 +02:00
};
export default config;