Browse Source

polyfill

pull/296/head
Hunter Thornsberry 2 years ago
parent
commit
e58a21e2b3
  1. 3
      package.json
  2. 678
      pnpm-lock.yaml
  3. 5
      vite.config.ts

3
package.json

@ -23,7 +23,7 @@
"dependencies": { "dependencies": {
"@bufbuild/protobuf": "^1.10.0", "@bufbuild/protobuf": "^1.10.0",
"@emeraldpay/hashicon-react": "^0.5.2", "@emeraldpay/hashicon-react": "^0.5.2",
"@meshtastic/js": "2.3.7-3", "@meshtastic/js": "2.3.7-4",
"@noble/curves": "^1.5.0", "@noble/curves": "^1.5.0",
"@radix-ui/react-accordion": "^1.2.0", "@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-checkbox": "^1.1.0", "@radix-ui/react-checkbox": "^1.1.0",
@ -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": {

678
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 { 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,
}), }),

Loading…
Cancel
Save