Skip to content

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