Skip to content

Commit

Permalink
Update the path resolution setting in common-react/tsconfig.json to h…
Browse files Browse the repository at this point in the history
…andle imports in the frontend code of Streamlit v1.17
  • Loading branch information
whitphx committed Feb 7, 2023
1 parent 9fe1fa6 commit 1282013
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/common-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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. */,
Expand Down

0 comments on commit 1282013

Please sign in to comment.