mirror of
https://github.com/garraflavatra/rolens.git
synced 2024-11-28 10:22:24 +01:00
19 lines
496 B
JavaScript
19 lines
496 B
JavaScript
import { defineConfig } from 'vite';
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
import { dirname } from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
const currentDir = dirname(fileURLToPath(import.meta.url));
|
|
|
|
export default defineConfig({
|
|
plugins: [ svelte() ],
|
|
resolve: {
|
|
alias: {
|
|
$components: currentDir + '/src/components',
|
|
$organisms: currentDir + '/src/organisms',
|
|
$wails: currentDir + '/wailsjs',
|
|
$lib: currentDir + '/src/lib',
|
|
},
|
|
},
|
|
});
|