Skip to content
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

Q: Alias for Symfony bundle paths and resolution #60

Open
st-schneider opened this issue Sep 3, 2018 · 1 comment
Open

Q: Alias for Symfony bundle paths and resolution #60

st-schneider opened this issue Sep 3, 2018 · 1 comment
Labels

Comments

@st-schneider
Copy link

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?

@pago
Copy link
Contributor

pago commented Sep 3, 2018

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)

@pago pago added the question label Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants