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

Allow to overwrite pre-defined aliases using addAliases() #627

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

Lyrkan
Copy link
Collaborator

@Lyrkan Lyrkan commented Aug 13, 2019

Currently pre-defined aliases (used by vue and preact-compat) are added after the ones from Encore.addAliases(...), which prevents overwriting them using this method.

It makes more sense to change that order so aliases from Encore.addAliases(...) are always added last (fixes #625).

@weaverryan
Copy link
Member

Thank you @Lyrkan!

weaverryan added a commit that referenced this pull request Oct 7, 2019
…yrkan)

This PR was merged into the master branch.

Discussion
----------

Allow to overwrite pre-defined aliases using addAliases()

Currently pre-defined aliases (used by `vue` and `preact-compat`) are added after the ones from `Encore.addAliases(...)`, which prevents overwriting them using this method.

It makes more sense to change that order so aliases from `Encore.addAliases(...)` are always added last (fixes #625).

Commits
-------

29d1cb4 Allow to overwrite pre-defined aliases using addAliases()
@weaverryan weaverryan merged commit 29d1cb4 into symfony:master Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

We can not choose a proper build for Vue.js
2 participants