From 8344fbf3bfc4c2511bc0a248237ca1af3ae2ab19 Mon Sep 17 00:00:00 2001 From: Sakura Knoll Date: Sun, 9 Jan 2022 20:38:07 +0900 Subject: [PATCH] Add baseUrl to tsconfig --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index e4d1b438..50be8da1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,8 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve" + "jsx": "preserve", + "baseUrl": "./src" }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"]