mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
20 lines
447 B
JavaScript
20 lines
447 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
compilerOptions: {
|
|
// Force runes mode for the project, except for libraries. Can be removed in svelte 6.
|
|
runes: ({ filename }) => (filename.split(/[/\\]/).includes('node_modules') ? undefined : true)
|
|
},
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: 'index.html'
|
|
}),
|
|
paths: {
|
|
relative: false
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|