mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-12-18 05:51:50 +03:00
17 lines
391 B
TypeScript
17 lines
391 B
TypeScript
import { vitePluginVersionMark } from "vite-plugin-version-mark";
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
base: "./",
|
|
plugins: [
|
|
react(),
|
|
vitePluginVersionMark({
|
|
command: "git describe --tags || git rev-parse --short HEAD",
|
|
ifMeta: true,
|
|
ifLog: true,
|
|
ifGlobal: true,
|
|
}),
|
|
],
|
|
});
|