Can I add another block from another registry as dependency? #598
Unanswered
mmailaender
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Currently no, I've thought about whether or not this is a good idea. Because depending on an external registry like this can easily cause your code to break if the the code changes in the original registry. It's easier to just have the code in your project and then there is no chance of it breaking unexpectedly |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the registry @auth/svelte and one of the files is importing
$lib/primitives/ui/avatarwhich is not part of this registry. So I would like to define it as dependency to another block in another registry where the primitives are stored, so they get automatically fetched.
Is that somehow possible?
Something like
Beta Was this translation helpful? Give feedback.
All reactions