alaskar.dev/vite.config.js

15 lines
255 B
JavaScript
Raw Normal View History

2024-12-11 14:25:57 +00:00
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;