pockethost/packages/superadmin/svelte.config.js
2024-06-05 12:21:34 -07:00

24 lines
553 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',
},
},
target: '#svelte',
}
export default config