From 2ff33e8b4bd39da1cb99aed41c0eeb1e275665d7 Mon Sep 17 00:00:00 2001 From: Sivert Hatteberg <sivert.hatteberg@usit.uio.no> Date: Wed, 8 Sep 2021 14:25:34 +0200 Subject: [PATCH] Enable absolute imports --- frontend/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index a273b0cf..860b1d5f 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -18,7 +18,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "baseUrl": "src" }, "include": [ "src" -- GitLab