homeservice/webui/svelte.config.js
Thomas Klaehn 633dd854b3 Build: fix
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2023-02-09 10:03:00 +01:00

20 lines
532 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/webui',
assets: '../build/webui',
fallback: null,
precompress: false,
strict: true
})
}
};
export default config;
export const trailingSlash = 'always';