Exploring the concept of path-mapping within the tsconfig.json file led me to the idea of utilizing it to streamline cumbersome path references:
https://i.sstatic.net/AYmv4.png
The project layout is unconventional due to its placement in a mono-repository that houses various projects and libraries, categorized by company and browser / server / universal.
https://i.sstatic.net/8fC6C.png
I am curious about configuring paths in the tsconfig.json file so that instead of:
import { Something } from "../../../../../lib/src/[browser/server/universal]/...";
I could simply write:
import { Something } from "lib/src/[browser/server/universal]/...";
Do I need to make additional adjustments in the Webpack configuration, or is editing the tsconfig.json file sufficient?