Q: Alias for Symfony bundle paths and resolution
st-schneider opened this issue · comments
Is there a way to have some kind of mapping or resolution strategy in melody for looking up stuff like DefaultBundle:component:home.html.twig
or something for include and extend and so on?
Could be done as a Melody plugin or - likely better - as a Webpack plugin/resolver.
Melody, by default, just uses the paths as they are without employing any custom logic in it. Keep in mind that it'd only work for static paths, not for those which would contain variables (DefaultBundle:component:#{fileName}.html.twig
)