From c3247a3864aa614ff55ae9af940866b95547a1b5 Mon Sep 17 00:00:00 2001 From: SuperSuperDev Date: Fri, 7 Jan 2022 16:59:38 +0700 Subject: [PATCH] chore: add absolute public import --- tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9e7f4be..91efe0c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,9 +13,10 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "baseUrl": "./src", + "baseUrl": ".", "paths": { - "@/*": ["*"] + "@/*": ["./src/*"], + "~/*": ["./public/*"] }, "incremental": true },