home/svelte.config.js
Thomas Klaehn e53ef0a193 initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2023-02-01 09:00:25 +01:00

20 lines
514 B
JavaScript

//import adapter from '@sveltejs/adapter-auto';
// import adapter from '@sveltejs/adapter-node';
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: null,
precompress: false,
strict: true
})
}
};
export default config;
export const trailingSlash = 'always';