Closed ieedan closed 2 days ago
Latest commit: 62e73b59fdc28ce8bb38db801143e48984c45843
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
jsrepo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 30, 2024 0:10am |
I have been thinking about how to nicely add this one for a while I think this is probably the best way at this point.
During build we use
get-tsconfig
to find the nearest tsconfig/jsconfig and use the paths to figure out what other local dependencies there are.In short we can now resolve stuff like
$lib/components/ui/button
or$lib/utils/utils
provided those paths are alsoblocks
.I think this is a big step for usage in component libraries as aliases are common place there.
I am thinking this may not be merged until Monday so if anyone has the chance please play around with the preview and let me know how everything works!
Changes
TODO: