Просмотр исходного кода

Merge pull request #335 from GreatAuk/update-tsconfig

chore(tsconfig): 更新 moduleResolution: node -> bundler
菲鸽 6 месяцев назад
Родитель
Сommit
72271798be
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      tsconfig.json

+ 2 - 2
tsconfig.json

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