This commit is contained in:
Hunter Thornsberry
2024-09-11 23:07:52 -04:00
parent 9b9f537e2c
commit 1e061a1e19
3 changed files with 672 additions and 2 deletions
+3 -2
View File
@@ -1,10 +1,10 @@
import { execSync } from "node:child_process";
import { resolve } from "node:path";
import react from "@vitejs/plugin-react";
import { visualizer } from "rollup-plugin-visualizer";
import { defineConfig } from "vite";
import EnvironmentPlugin from "vite-plugin-environment";
import react from "@vitejs/plugin-react";
import { nodePolyfills } from "vite-plugin-node-polyfills";
let hash = "";
@@ -17,6 +17,7 @@ try {
export default defineConfig({
plugins: [
react(),
nodePolyfills(),
EnvironmentPlugin({
COMMIT_HASH: hash,
}),