Skip to content

Commit

Permalink
Fix TS error
Browse files Browse the repository at this point in the history
Change-Id: I7a8501602ce6885569f521a96ececeaca0559d2f
Signed-off-by: Qingyu Wang <[email protected]>
  • Loading branch information
colinaaa authored and nicolo-ribaudo committed Feb 6, 2024
1 parent 0e1c2e7 commit d783dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-helper-compilation-targets/src/index.ts
Expand Up @@ -254,7 +254,7 @@ export default function getTargets(

if (esmodules === "intersect") {
for (const browser of Object.keys(queryBrowsers) as Target[]) {
if (browser !== "deno" && browser !== "ie") {
if (browser !== "deno" && browser !== "hermes" && browser !== "ie") {
const esmSupportVersion =
ESM_SUPPORT[browser === "opera_mobile" ? "op_mob" : browser];

Expand Down

0 comments on commit d783dd0

Please sign in to comment.