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

Avoid resolveTargets call if browsers is an empty array #14294

Merged
merged 15 commits into from Mar 14, 2022

Commits on Feb 22, 2022

  1. fix: remove resolveTargets call if browsers is empty

    In the process of using babel, I found that when `browserslistConfigFile` is not set to `false` and browsersList is not set, babel will still call the related methods of browsersList and caniuse-lite, I think this is unnecessary, Because browsers is an empty array at this time, it is a truthy value, so I modified the judgment condition to not handle it when it is undefined or an empty array.
    dev-itsheng committed Feb 22, 2022
    Copy the full SHA
    bdc7fdf View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

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

Commits on Mar 2, 2022

  1. Copy the full SHA
    c03d061 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    32c3aa7 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Copy the full SHA
    0183f3f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8e9453f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    426d2c7 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. fix: fixed some test preconditions, and added a test to see if a func…

    …tion is called via side effects.
    dev-itsheng committed Mar 13, 2022
    Copy the full SHA
    3eea970 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6944235 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    6a4dab1 View commit details
    Browse the repository at this point in the history
  4. fix: Fix test error

    dev-itsheng committed Mar 13, 2022
    Copy the full SHA
    57669c6 View commit details
    Browse the repository at this point in the history
  5. fix: Fix code style

    dev-itsheng committed Mar 13, 2022
    Copy the full SHA
    a3fe073 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    2d531e5 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    6527dc0 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

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