fix: isPluginRequired returns the opposite result in v7.8.0 (#10992)
This commit is contained in:
parent
2ccc451e96
commit
f995f8e02c
@ -32,7 +32,7 @@ import type { BuiltInsOption, ModuleOption } from "./types";
|
||||
|
||||
// TODO: Remove in Babel 8
|
||||
export function isPluginRequired(targets: Targets, support: Targets) {
|
||||
return !isRequired("fake-name", targets, {
|
||||
return isRequired("fake-name", targets, {
|
||||
compatData: { "fake-name": support },
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user