소스 검색

chore(tsconfig): 更新 moduleResolution 为 bundler

Utopia 6 달 전
부모
커밋
e1e9eb0496
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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/*"]