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

21 lines
426 B
TypeScript
Raw Normal View History

2024-03-13 03:45:14 +08:00
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'),
},
}
2024-03-13 03:45:14 +08:00
})