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 vue-template-compiler error #79

Closed
wants to merge 1 commit into from
Closed

Conversation

toolboc
Copy link
Contributor

@toolboc toolboc commented Sep 18, 2018

@toolboc toolboc mentioned this pull request Sep 18, 2018
@noopkat
Copy link
Owner

noopkat commented Sep 18, 2018

@toolboc thanks for this fix! 😄
My gut feel is that we should keep this Vue toolchain library as a devDependency like in #75

Thoughts?

@mtheoryx
Copy link
Collaborator

This does fix it in a similar way as #75 !

On separating devDepedencies, I see what you mean @noopkat and I generally would do that. However, I got curious and ran across this issue where Dan Abramov talked about why they moved something into dependencies:

facebook/create-react-app#2696

tl;dr As opposed to something like test runners and assertion libraries, vue-template-compiler is required at build time. Their argument over on that issue was that some deployment providers treat it such that only 'dependencies' are needed for a build, and they were running into issues.

So, I'm totally on the fence about whether we do or not! If we want to do this, I can update my #75 quickly if we merge this. @mpaarating Thoughts?

@mpaarating
Copy link
Collaborator

My gut reaction is that it should stay in devDependencies as the deployment issue that Mr. Abramov (blessed his name) referenced shouldn't be an issue in this project. With that said, I don't have that strong of feelings either way.

@toolboc
Copy link
Contributor Author

toolboc commented Sep 19, 2018

I was able to verify that the changes from @mtheoryx in #75 provide the same error relief. I say we go in favor of that PR due to keeping everything in devDepencies along with the additional changes it brings. The duplication was due to my not noticing that a PR was already in place, however, we now have independent verification that @mtheoryx 's changes are good to go!

*closing

@toolboc toolboc closed this Sep 19, 2018
@mtheoryx
Copy link
Collaborator

@toolboc No worries, kind of a funny coincidence we both stumbled on this at the same time Thank you for also trying to track it down!

@toolboc toolboc deleted the depfixes branch September 19, 2018 16:09
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.

Error: vue-template-compiler must be installed as a peer dependency
4 participants