Browse Source

添加tsconfig

wolyshaw 4 years ago
parent
commit
e24748c8e8
1 changed files with 13 additions and 0 deletions
  1. 13 0
      tsconfig.json

+ 13 - 0
tsconfig.json

@@ -0,0 +1,13 @@
+{
+  "compilerOptions": {
+    "baseUrl": ".",
+    "allowJs": true,
+    "target": "ES6",
+    "lib": ["DOM", "ESNext"],
+    "outDir": "dist",
+    "paths": {
+      "@/*": ["./src/*"]
+    }
+  },
+  "exclude": ["node_modules"]
+}