mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
19 lines
396 B
JavaScript
19 lines
396 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { imagetools } from 'vite-imagetools';
|
|
|
|
import path from 'path';
|
|
|
|
/** @type {import('vite').UserConfig} */
|
|
const config = {
|
|
plugins: [sveltekit(), imagetools()],
|
|
resolve: {
|
|
alias: {
|
|
$images: path.resolve('./images'),
|
|
$data: path.resolve('./src/data'),
|
|
$layout: path.resolve('./src/layout')
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|