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 committed Oct 27, 2023
1 parent 11c0c60 commit fb8b79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-helper-compilation-targets/src/index.ts
Original file line number Diff line number Diff line change
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 fb8b79b

Please sign in to comment.