reveil/ui/svelte.config.js
Pierre-Olivier Mercier 30a50b775f
All checks were successful
continuous-integration/drone/push Build is passing
Add 404 page as fallback page
2022-10-15 15:28:50 +02:00

20 lines
426 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
adapter: adapter({
fallback: '404.html'
}),
paths: {
// base: '{{.urlbase}}',
}
}
};
export default config;