Skip to content

Commit

Permalink
Suppress data/core-js-compat importing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jun 21, 2022
1 parent 6b3ae16 commit 2867f2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/babel-preset-env/src/normalize-options.ts
@@ -1,5 +1,7 @@
import semver, { type SemVer } from "semver";
import corejs2Polyfills from "@babel/compat-data/corejs2-built-ins";
// @ts-ignore Fixme: TS can not infer types from ../data/core-js-compat.js
// but JSON imports does not work on Node 14
import corejs3Polyfills from "../data/core-js-compat";
import { plugins as pluginsList } from "./plugins-compat-data";
import moduleTransformations from "./module-transformations";
Expand Down

0 comments on commit 2867f2e

Please sign in to comment.