Browse Source

polyfill

pull/297/head
Hunter Thornsberry 2 years ago
parent
commit
1e061a1e19
  1. 1
      package.json
  2. 668
      pnpm-lock.yaml
  3. 5
      vite.config.ts

1
package.json

@ -60,6 +60,7 @@
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"timeago-react": "^3.0.6",
"vite-plugin-node-polyfills": "^0.22.0",
"zustand": "4.5.2"
},
"devDependencies": {

668
pnpm-lock.yaml

File diff suppressed because it is too large

5
vite.config.ts

@ -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,
}),

Loading…
Cancel
Save