Fix import { types } from "@babel/core"
with native ESM
#14663
Merged
import { types } from "@babel/core"
with native ESM
#14663