Browse Source

chore(tsconfig): 更新 moduleResolution 为 bundler

Utopia 6 tháng trước cách đây
mục cha
commit
e1e9eb0496
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      tsconfig.json

+ 2 - 2
tsconfig.json

@@ -3,8 +3,8 @@
     "composite": true,
     "lib": ["esnext", "dom"],
     "baseUrl": ".",
-    "module": "ESNext",
-    "moduleResolution": "Node",
+    "module": "esnext",
+    "moduleResolution": "bundler",
     "paths": {
       "@/*": ["./src/*"],
       "@img/*": ["./src/static/*"]