Browse Source

Fixes for Vercel

pull/637/head
philon- 1 year ago
parent
commit
f22d89a603
  1. 7
      deno.json
  2. 8
      package.json
  3. 2
      vite.config.ts

7
deno.json

@ -1,11 +1,4 @@
{ {
"workspace": [
"./meshtastic-js/packages/core",
"./meshtastic-js/packages/transport-deno",
"./meshtastic-js/packages/transport-http",
"./meshtastic-js/packages/transport-web-bluetooth",
"./meshtastic-js/packages/transport-web-serial"
],
"imports": { "imports": {
"@app/": "./src/", "@app/": "./src/",
"@pages/": "./src/pages/", "@pages/": "./src/pages/",

8
package.json

@ -36,11 +36,11 @@
"dependencies": { "dependencies": {
"@bufbuild/protobuf": "^2.2.5", "@bufbuild/protobuf": "^2.2.5",
"@deno/vite-plugin": "^1.0.4", "@deno/vite-plugin": "^1.0.4",
"@meshtastic/core": "workspace:*", "@meshtastic/core": "file:./meshtastic-js/packages/core",
"@meshtastic/js": "npm:@jsr/[email protected]", "@meshtastic/js": "npm:@jsr/[email protected]",
"@meshtastic/transport-http": "workspace:*", "@meshtastic/transport-http": "file:./meshtastic-js/packages/transport-http",
"@meshtastic/transport-web-bluetooth": "workspace:*", "@meshtastic/transport-web-bluetooth": "file:./meshtastic-js/packages/transport-web-bluetooth",
"@meshtastic/transport-web-serial": "workspace:*", "@meshtastic/transport-web-serial": "file:./meshtastic-js/packages/transport-web-serial",
"@meshtastic/protobufs": "npm:@jsr/meshtastic__protobufs@^2.6.2", "@meshtastic/protobufs": "npm:@jsr/meshtastic__protobufs@^2.6.2",
"@noble/curves": "^1.9.0", "@noble/curves": "^1.9.0",
"@radix-ui/react-accordion": "^1.2.8", "@radix-ui/react-accordion": "^1.2.8",

2
vite.config.ts

@ -1,5 +1,4 @@
import { defineConfig } from "vite"; import { defineConfig } from "vite";
import deno from "@deno/vite-plugin";
import react from "@vitejs/plugin-react"; import react from "@vitejs/plugin-react";
import { VitePWA } from "vite-plugin-pwa"; import { VitePWA } from "vite-plugin-pwa";
import { viteStaticCopy } from "vite-plugin-static-copy"; import { viteStaticCopy } from "vite-plugin-static-copy";
@ -17,7 +16,6 @@ try {
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
deno(),
react(), react(),
VitePWA({ VitePWA({
registerType: "autoUpdate", registerType: "autoUpdate",

Loading…
Cancel
Save