Change-Id: I0d46dc57df025538379a2f0786d3e972c56dd248pull/511/head
parent
2e2085cdfe
commit
f4ea63c8f4
@ -1,6 +1,15 @@
|
|||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
import react from "@vitejs/plugin-react";
|
import react from "@vitejs/plugin-react";
|
||||||
|
import { vitePluginVersionMark } from "vite-plugin-version-mark";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [
|
||||||
|
react(),
|
||||||
|
vitePluginVersionMark({
|
||||||
|
command: "git describe --tags",
|
||||||
|
ifMeta: true,
|
||||||
|
ifLog: true,
|
||||||
|
ifGlobal: true,
|
||||||
|
}),
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in new issue