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 Babel 7 compat #43

Merged
merged 1 commit into from Jan 15, 2018
Merged

Fix Babel 7 compat #43

merged 1 commit into from Jan 15, 2018

Conversation

yyx990803
Copy link
Member

This makes babel-core a peer dep so that it can use whatever version of babel-core the user specifies.

Also removes the default babel-preset-vue-app configuration - I don't think it's a good idea to hard code that in here, especially when we are going to ship a new preset with vue-cli 3.0. If the user doesn't have a .babelrc, vue-jest should just skip babel.

@eddyerburgh
Copy link
Member

Thanks @yyx990803 😀.

I agree with skipping if there's no babelrc.

This fixes #39

@eddyerburgh eddyerburgh merged commit cd39ea7 into vuejs:master Jan 15, 2018
@eddyerburgh
Copy link
Member

This is a breaking change, so it'll be released as a major version.

@eddyerburgh eddyerburgh mentioned this pull request Jan 24, 2018
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.

None yet

2 participants