kun-galgame-vue/vite.config.ts

15 lines
291 B
TypeScript
Raw Normal View History

2023-04-18 08:04:47 +00:00
import { defineConfig } from "vite";
2023-04-20 08:04:08 +00:00
import path from 'path'
2023-04-18 08:04:47 +00:00
import vue from "@vitejs/plugin-vue";
2023-04-14 13:58:13 +00:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
2023-04-20 08:04:08 +00:00
/* src 别名为 @ */
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
2023-04-18 08:04:47 +00:00
});