You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
498 B
22 lines
498 B
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(),
|
|
files : {
|
|
routes: 'src/web/routes',
|
|
},
|
|
alias: {
|
|
$lang: 'src/arts/lang',
|
|
$logr: 'src/arts/logr',
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|