mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-11 17:29:44 +00:00
20 lines
354 B
TypeScript
20 lines
354 B
TypeScript
import path from "node:path"
|
|
import vue from "@vitejs/plugin-vue"
|
|
import autoprefixer from "autoprefixer"
|
|
import { defineConfig } from "vite"
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
css: {
|
|
postcss: {
|
|
plugins: [autoprefixer()]
|
|
}
|
|
},
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src")
|
|
}
|
|
}
|
|
})
|