浏览代码

添加tsconfig

wolyshaw 4 年之前
父节点
当前提交
e24748c8e8
共有 1 个文件被更改,包括 13 次插入0 次删除
  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"]
+}