fix: isPluginRequired returns the opposite result in v7.8.0#10992
fix: isPluginRequired returns the opposite result in v7.8.0#10992nicolo-ribaudo merged 1 commit intobabel:masterfrom
isPluginRequired returns the opposite result in v7.8.0#10992Conversation
JLHwung
left a comment
There was a problem hiding this comment.
LGTM. Likely a glitch when refactoring targetsSupported into isRequired.
It breaks Vue CLI's tests at the moment
We do have vue-cli e2e tests:
Could you post the broken CI link? It should have been captured by the e2e tests.
|
https://circleci.com/gh/sodatea/vue-cli/2224?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link The e2e test script didn't include the preset package. Should be |
|
@sodatea Thanks! Can you also update the |
|
Will release in a few hours 👍 |
|
Published as 7.8.2! |
|
I went to sleep after the last reply 😅 |
As far as I can tell, the new
isRequiredfunction in this PR https://github.com/babel/babel/pull/10899/files does the same job as the legacyisPluginRequired, so the!here seems incorrect.It breaks Vue CLI's tests at the moment (though it seems few people have noticed).