'Typscipt paths for imports on two seperate packages
I have a react app based off of this post
However it's a Typescript project. The legacy directory is basically a copy paste directory job which means the imports have no all been lost.
Structure like so
App
-src
--legacy
--modern
tsconfig.json
I'm wondering if there's a way to use pthas in the new tsconfig to replicate how the import paths were working originally.
Original Legacy tsconfig -
"baseUrl": "./",
"paths": {
"*": ["src/*"]
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
