Sfoglia il codice sorgente

更新移动端 deno.json 配置,简化依赖项的 URL,确保依赖关系的正确性和一致性。

zyh 8 mesi fa
parent
commit
110b3e220f
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      client/mobile/deno.json

+ 5 - 5
client/mobile/deno.json

@@ -1,11 +1,11 @@
 {
   "imports": {
-    "react": "https://esm.d8d.fun/react@19.0.0?deps=react@19.0.0,react-dom@19.0.0",
-    "react-dom": "https://esm.d8d.fun/react-dom@19.0.0?deps=react@19.0.0,react-dom@19.0.0",
-    "react-dom/client": "https://esm.d8d.fun/react-dom@19.0.0/client?deps=react@19.0.0,react-dom@19.0.0",
+    "react": "https://esm.d8d.fun/react@19.0.0",
+    "react-dom": "https://esm.d8d.fun/react-dom@19.0.0",
+    "react-dom/client": "https://esm.d8d.fun/react-dom@19.0.0/client",
     "react-router": "https://esm.d8d.fun/react-router@7.3.0?deps=react@19.0.0,react-dom@19.0.0",
-    "@heroicons/react/24/outline": "https://esm.d8d.fun/@heroicons/react@2.1.1/24/outline?deps=react@19.0.0",
-    "@heroicons/react/24/solid": "https://esm.d8d.fun/@heroicons/react@2.1.1/24/solid?deps=react@19.0.0",
+    "@heroicons/react/24/outline": "https://esm.d8d.fun/@heroicons/react@2.1.1/24/outline?deps=react@19.0.0,react-dom@19.0.0",
+    "@heroicons/react/24/solid": "https://esm.d8d.fun/@heroicons/react@2.1.1/24/solid?deps=react@19.0.0,react-dom@19.0.0",
     "axios": "https://esm.d8d.fun/axios@1.6.7",
     "dayjs": "https://esm.d8d.fun/dayjs@1.11.13",
     "dayjs/plugin/weekday": "https://esm.d8d.fun/dayjs@1.11.13/plugin/weekday",