14 lines
255 B
JavaScript
14 lines
255 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import path from 'path';
|
|
|
|
/** @type {import('vite').UserConfig} */
|
|
const config = {
|
|
plugins: [sveltekit()],
|
|
resolve: {
|
|
alias: {
|
|
$routes: path.resolve('./src/routes')
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|