18 lines
374 B
TypeScript
18 lines
374 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: "jq -r .version /app/package.json",
|
|
ifMeta: true,
|
|
ifLog: true,
|
|
ifGlobal: true,
|
|
}),
|
|
],
|
|
});
|