guitar-diff / frontend /vite.config.js
xribene
first
df4b493
raw
history blame contribute delete
391 Bytes
import path from 'node:path'
import UnoCSS from 'unocss/vite'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
UnoCSS(),
],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
// build:{
// target: "esnext" // or "es2019",
// }
})