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

14 lines
318 B
TypeScript
Raw Normal View History

2022-12-13 23:19:07 +01:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
2023-01-07 21:36:18 +01:00
import loadVersion from "vite-plugin-package-version";
2022-12-13 23:19:07 +01:00
import path from "path";
export default defineConfig({
2023-01-07 21:36:18 +01:00
plugins: [react(), loadVersion()],
2022-12-13 23:19:07 +01:00
resolve: {
alias: {
2022-12-13 23:50:13 +01:00
"@": path.resolve(__dirname, "./src"),
2022-12-13 23:19:07 +01:00
},
},
});