1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00
smov/vite.config.ts
2023-01-07 21:36:18 +01:00

13 lines
318 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import loadVersion from "vite-plugin-package-version";
import path from "path";
export default defineConfig({
plugins: [react(), loadVersion()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});