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
+1
View File
@@ -60,6 +60,7 @@
"tailwind-merge": "^2.3.0", "tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"timeago-react": "^3.0.6", "timeago-react": "^3.0.6",
"vite-plugin-node-polyfills": "^0.22.0",
"zustand": "4.5.2" "zustand": "4.5.2"
}, },
"devDependencies": { "devDependencies": {
+668
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -1,10 +1,10 @@
import { execSync } from "node:child_process"; import { execSync } from "node:child_process";
import { resolve } from "node:path"; import { resolve } from "node:path";
import react from "@vitejs/plugin-react";
import { visualizer } from "rollup-plugin-visualizer"; import { visualizer } from "rollup-plugin-visualizer";
import { defineConfig } from "vite"; import { defineConfig } from "vite";
import EnvironmentPlugin from "vite-plugin-environment"; import EnvironmentPlugin from "vite-plugin-environment";
import { nodePolyfills } from "vite-plugin-node-polyfills";
import react from "@vitejs/plugin-react";
let hash = ""; let hash = "";
@@ -17,6 +17,7 @@ try {
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
react(), react(),
nodePolyfills(),
EnvironmentPlugin({ EnvironmentPlugin({
COMMIT_HASH: hash, COMMIT_HASH: hash,
}), }),