Files
mir-godot/desktop/template/vite.config.ts
makeyangcom 03d44f4c48 3.0.0
2024-04-06 15:11:32 +08:00

30 lines
588 B
TypeScript

import path from "path";
import tailwind from "tailwindcss";
import autoprefixer from "autoprefixer";
import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite";
export default defineConfig({
server: {
port: 6173
},
plugins: [
vue()
],
build: {
sourcemap: false
},
optimizeDeps: {
exclude: ["punycode"]
},
css: {
postcss: {
plugins: [tailwind(), autoprefixer()],
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
})