vue-health/vite.config.ts
Victor Batischev 83d2bed1d8 base path
2024-02-16 14:50:35 +03:00

19 lines
482 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)),
},
},
base: '/vue-health/',
})