From ce6b71196a4aba58ae385c31ce6cd51ef6259c3f Mon Sep 17 00:00:00 2001 From: campcc <1210131782@qq.com> Date: Fri, 9 Oct 2020 10:10:54 +0800 Subject: [PATCH] fix: override tsconfig, replace with jsconfig --- jsconfig.json | 9 +++++++++ tsconfig.json | 20 -------------------- 2 files changed, 9 insertions(+), 20 deletions(-) create mode 100644 jsconfig.json delete mode 100644 tsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..ce3d5f2 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "baseUrl": "./", + "paths": { + "@/*": ["src/*"] + } + }, + "include": ["src"] +} diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 6d09b53..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "allowJs": true, - "target": "esnext", - "module": "esnext", - "moduleResolution": "node", - "importHelpers": true, - "jsx": "react", - "esModuleInterop": true, - "sourceMap": true, - "baseUrl": "./", - "strict": true, - "paths": { - "@/*": ["src/*"], - "@@/*": ["src/.umi/*"] - }, - "allowSyntheticDefaultImports": true - }, - "exclude": ["node_modules", "lib", "es", "dist", "typings", "**/__test__", "test"] -}