scuff/svelte.config.js

24 lines
473 B
JavaScript
Raw Normal View History

2022-04-22 14:20:51 -04:00
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
2022-11-12 20:11:50 -05:00
import path from 'path';
2022-04-22 14:20:51 -04:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess(),
kit: {
2022-11-12 20:11:50 -05:00
adapter: adapter(),
vite: {
resolve: {
alias: {
$components: path.resolve('./src/components')
}
}
}
2022-04-22 14:20:51 -04:00
}
};
export default config;