From 1282013482b7513e0e22a8ba2d5b0aeae5222fdf Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Tue, 7 Feb 2023 12:26:50 +0900 Subject: [PATCH] Update the path resolution setting in common-react/tsconfig.json to handle imports in the frontend code of Streamlit v1.17 --- packages/common-react/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/common-react/tsconfig.json b/packages/common-react/tsconfig.json index 56e0feaff..e5aa3e67d 100644 --- a/packages/common-react/tsconfig.json +++ b/packages/common-react/tsconfig.json @@ -30,6 +30,7 @@ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ "paths": { "src/theme": ["../../streamlit/frontend/src/theme"], + "src/theme/*": ["../../streamlit/frontend/src/theme/*"], "src/lib/*": ["../../streamlit/frontend/src/lib/*"], "src/autogen/*": ["../../streamlit/frontend/src/autogen/*"] } /* Specify a set of entries that re-map imports to additional lookup locations. */,