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

Extend hasPlugin to accept plugin-configuration array pairs #13982

Merged
merged 2 commits into from Dec 2, 2021

Commits on Nov 29, 2021

  1. parser: Extend hasPlugin to accept plugin-configuration array pairs

    This also allows expectPlugin and expectOnePlugin to give better error messages. For example:
    > This experimental syntax requires enabling the parser plugin "pipelineOperator".
    > This experimental syntax requires enabling the parser plugin ["pipelineOperator", {proposal: "hack", topicToken: "^^"}].
    
    See babel#13973 (comment).
    js-choi committed Nov 29, 2021
    Copy the full SHA
    af9aaa1 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Copy the full SHA
    820e3a0 View commit details
    Browse the repository at this point in the history