datacap/core/datacap-ui/vite.config.ts

21 lines
426 B
TypeScript

import path from 'path'
import vue from '@vitejs/plugin-vue'
import {defineConfig} from 'vite'
import tailwind from 'tailwindcss'
import autoprefixer from 'autoprefixer'
export default defineConfig({
css: {
postcss: {
plugins: [tailwind(), autoprefixer()],
},
},
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
}
})