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.

39 lines
955 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: {
$aapp: 'src/arts/aapp',
$adom: 'src/arts/adom',
$auth: 'src/arts/auth',
$cach: 'src/arts/cach',
$conn: 'src/arts/conn',
$fend: 'src/arts/fend',
$libs: 'src/libs',
$locale: 'src/libs/locale',
$reactive: 'src/libs/reactive',
$fmts: 'src/arts/fmts',
$http: 'src/arts/http',
$lang: 'src/arts/lang',
$logr: 'src/arts/logr',
$perm: 'src/arts/perm',
$sess: 'src/arts/sess',
$sium: 'src/arts/sium',
$stor: 'src/arts/stor',
$svrs: 'src/svrs',
$timr: 'src/arts/timr'
}
}
};
export default config;

Powered by TurnKey Linux.