import vueI18n from '@intlify/vite-plugin-vue-i18n' import vue from '@vitejs/plugin-vue' import path from 'path' import Icons from 'unplugin-icons/vite' import { fileURLToPath, URL } from 'url' import { defineConfig } from 'vite' // https://vitejs.dev/config/ export default defineConfig({ base: '/compte/', plugins: [ vue({ reactivityTransform: true, }), Icons({ autoInstall: true }), vueI18n({ include: path.resolve(__dirname, 'src/locales/**'), }), ], resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), }, }, })