vue-health/vite.config.ts
Victor Batischev 16da03170d base url
2024-02-16 15:06:01 +03:00

18 lines
456 B
TypeScript

import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import { defineConfig } from 'vite'
import ViteVue3Bem from 'vite-plugin-vue3-bem'
// https://vitejs.dev/config/
export default defineConfig({
//@ts-ignore
plugins: [vue(), ViteVue3Bem(), vueJsx()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
})