vue-health/vite.config.ts

18 lines
456 B
TypeScript
Raw Normal View History

2024-02-14 18:02:53 +03:00
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)),
},
},
})