diff --git a/tsconfig.json b/tsconfig.json index ab41192..7a8977a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "strict": false, "skipLibCheck": true, @@ -14,12 +18,23 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, - "baseUrl": "./src", + "baseUrl": ".", "paths": { - "@/*": ["./*"] + "@/*": [ + "src/*" + ] }, - "rootDirs": ["common/src/", "arco-design-pro-cra/src/", "arco-design-pro-next/src/"] + "rootDirs": [ + "common/src/", + "arco-design-pro-cra/src/", + "arco-design-pro-next/src/" + ] }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] }