From bb183cbd000ce4b1012b518d227bb933d8a0bbff Mon Sep 17 00:00:00 2001 From: mumrik Date: Wed, 18 Aug 2021 23:36:19 +0900 Subject: [PATCH] chore: set tsconfig baseUrl & paths --- tsconfig.json | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 8a0bc0f0..60f3f8fa 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,17 @@ { - "extends": "@tsconfig/docusaurus/tsconfig.json", - "include": ["src/"], - "compilerOptions": { - "types": ["node", "@emotion/react/types/css-prop"], - "resolveJsonModule": true - } + "extends": "@tsconfig/docusaurus/tsconfig.json", + "include": ["src/"], + "compilerOptions": { + "resolveJsonModule": true, + "baseUrl": "./src", + "paths": { + "*": [ + "./*" + ] + }, + "types": [ + "node", + "@emotion/react/types/css-prop" + ] + } }