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.
43 lines
1.2 KiB
43 lines
1.2 KiB
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: {
|
|
// `/test/auth` is a server-action harness for local development and cannot
|
|
// be emitted by adapter-static. The docs site and static test pages are
|
|
// prerendered; dynamic server harnesses are intentionally omitted.
|
|
adapter: adapter({ strict: false }),
|
|
files: {
|
|
routes: 'src/web/routes'
|
|
},
|
|
alias: {
|
|
$aapp: 'src/arts/aapp',
|
|
$adom: 'src/arts/adom',
|
|
$auth: 'src/arts/auth',
|
|
$buss: 'src/arts/buss',
|
|
$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;
|