import { resolve } from 'path'
import { defineConfig } from 'electron-vite'
import { sharedConfig } from './vite.shared'

export default defineConfig({
    main: {},
    preload: {},
    renderer: {
        ...sharedConfig,
        resolve: {
            alias: {
                '@': resolve('src/renderer/src'),
            },
        },
    },
})
