Currently in the process of reorganizing my code and rewriting some TypeScript modules that are anticipated to be utilized by multiple microservices as packages.
Encountering an issue with absolute imports enabled by baseUrl
in relation to this package conversion. Previously, I would
import { Thing } from "Place/That/I/Know";
where "Place/That/I/Know/"
actually referenced "src/Place/That/I/Know/"
. This change now triggers a Module not found error
.
Considering utilizing Rollup.js to convert absolute imports, "Place/That/I/Know/"
, to relative imports "./Place/That/I/Know/"
. Came across a potential solution in this thread, but still seeking further guidance. Any recommendations?