Also I m using my …

less than 1 minute read

Also, I’m using my “@../ui” library across multiple apps/sections of an app, and would like to implement some sort of “tree-shaking” such that not all code from the ui lib is bundled with every import, so i’ve started importing via nested typescript imports by adding another line to my tsconfig paths to allow for nested imports (e.g import { Button } from "@../ui" to import { Button } from "@../ui/button" ). Does anyone see any problems that might arise with this approach (or suggest any other approaches!)

Updated: