mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
31 lines
692 B
JavaScript
31 lines
692 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: preprocess(),
|
|
compilerOptions: {
|
|
accessors: process.env.VITEST
|
|
},
|
|
kit: {
|
|
alias: {
|
|
$routes: './src/routes'
|
|
},
|
|
adapter: adapter({
|
|
fallback: 'index.html'
|
|
}),
|
|
paths: {
|
|
base: ''
|
|
}
|
|
},
|
|
vitePlugin: {
|
|
inspector: {
|
|
toggleKeyCombo: 'meta-shift-i'
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|