pockethost/packages/superadmin/svelte.config.js
2024-06-05 10:15:29 -07:00

25 lines
588 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(),
kit: {
adapter: adapter({
pages: '../../dist/superadmin',
fallback: 'index.html',
}),
alias: {
$components: './src/components',
$util: './src/util',
$src: './src',
$shared: '../../src/shared',
},
},
target: '#svelte',
}
export default config