-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config Free Taglib Discovery #329
Comments
My initial reaction is that I don't like introducing too much convention since it makes things feel less flexible and introduces more magic. There's also the overhead of now looking for both a |
It seems like there are a lot of other pieces where we have convention with the additional option of providing your own. E.g. Practically speaking, my |
@patrick-steele-idem To reiterate what Yoni said, we already have convention within the @yomed This would allow a structure like:
without a |
@mlrawlings I see, although in my case I don't normally need an entire new
So if this change was made it would mean that my small projects wouldn't need a |
@aniruddh-a and I were discussing how custom tags are discovered, and he wondered why it couldn't just be done automatically. This might be a good idea to explore.
Essentially, it would function kinda like
node_modules
except based on thecomponents
directory (which has become a standard way of doing things). The taglib lookup could search first in the current directory for acomponents
directory and continue walking up to the project root to discover tags.This actually mirrors the way that
marko.json
files are discovered and could be done in the same step.Thoughts?
/cc @marko-js/maintainers
The text was updated successfully, but these errors were encountered: