Is there a way to have more tightly scoped imports through project.janet? #1218
-
I know that by using the Is there a way to do this similarly through a I haven't found a way to get the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There isn't. How exactly do you imagine this being implemented? |
Beta Was this translation helpful? Give feedback.
There isn't. How exactly do you imagine this being implemented?
Ultimately, it's all in the repository, which you must clone in its entirety either way.
You could maybe skip the build step for native components if you statically analyzed hard enough, but you're not really gaining much.
What are you looking to gain through this on the overall?
I mean, I can only really imagine namespace pollution being a reason (since due to the repo considerations earlier, you don't gain any space), but how advisable is it really to have
a/b
be "available" while depending on "a/c"?