homeservice/webui/svelte.config.js

20 lines
532 B
JavaScript
Raw Normal View History

2023-02-09 08:47:49 +00:00
//import adapter from '@sveltejs/adapter-auto';
// import adapter from '@sveltejs/adapter-node';
2023-01-30 12:29:26 +00:00
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
2023-02-09 08:47:49 +00:00
// default options are shown. On some platforms
// these options are set automatically — see below
pages: '../build/webui',
assets: '../build/webui',
2023-02-09 08:47:49 +00:00
fallback: null,
2023-02-06 10:33:18 +00:00
precompress: false,
2023-02-09 08:47:49 +00:00
strict: true
})
2023-01-30 12:29:26 +00:00
}
};
export default config;
2023-02-09 08:47:49 +00:00
export const trailingSlash = 'always';