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

fix: get transformToRequire from vueOptions instead of options for template-compiler (#1171) #1175

Merged
merged 1 commit into from
Mar 6, 2018
Merged

fix: get transformToRequire from vueOptions instead of options for template-compiler (#1171) #1175

merged 1 commit into from
Mar 6, 2018

Conversation

fnlctrl
Copy link
Member

@fnlctrl fnlctrl commented Feb 26, 2018

transformToRequire is actually broken since v14 because compiler options is passed by this._compilation.__vueOptions__, instead of webpack loader option, so it should be vueOptions.transformToRequire here.
Not sure why tests didn't fail for options.transformToRequire :/

@oliverzy
Copy link

oliverzy commented Mar 6, 2018

The related issue is here: #1171.
Is it possible to push a fix for this one?

@fnlctrl
Copy link
Member Author

fnlctrl commented Mar 6, 2018

@oliverzy This PR should fix that issue already. 😄

@fnlctrl fnlctrl changed the title fix: get transformToRequire from vueOptions instead of options for template-compiler fix: get transformToRequire from vueOptions instead of options for template-compiler (#1171) Mar 6, 2018
@yyx990803 yyx990803 merged commit 8b912ad into vuejs:master Mar 6, 2018
@fnlctrl fnlctrl deleted the fix-transform-require branch March 6, 2018 14:42
@fnlctrl fnlctrl restored the fix-transform-require branch March 6, 2018 14:42
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.

3 participants