diff --git a/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap b/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap index 8caa0e21d0dab..966617470aca3 100644 --- a/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap +++ b/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap @@ -67,7 +67,7 @@ Array [ Array [ "@babel/preset-env", Object { - "corejs": 2, + "corejs": 3, "debug": false, "loose": true, "modules": "commonjs", @@ -90,7 +90,7 @@ Array [ Array [ "@babel/preset-env", Object { - "corejs": 2, + "corejs": 3, "debug": true, "loose": true, "modules": "commonjs", diff --git a/packages/babel-preset-gatsby/src/__tests__/__snapshots__/dependencies.ts.snap b/packages/babel-preset-gatsby/src/__tests__/__snapshots__/dependencies.ts.snap index 64ec918af09b1..ffcf375b9e0b5 100644 --- a/packages/babel-preset-gatsby/src/__tests__/__snapshots__/dependencies.ts.snap +++ b/packages/babel-preset-gatsby/src/__tests__/__snapshots__/dependencies.ts.snap @@ -19,7 +19,7 @@ Object { Array [ "/node_modules/@babel/preset-env/lib/index.js", Object { - "corejs": 2, + "corejs": 3, "exclude": Array [ "transform-typeof-symbol", ], diff --git a/packages/babel-preset-gatsby/src/__tests__/__snapshots__/index.js.snap b/packages/babel-preset-gatsby/src/__tests__/__snapshots__/index.js.snap index 13accfb93ac9e..fd425311be8ab 100644 --- a/packages/babel-preset-gatsby/src/__tests__/__snapshots__/index.js.snap +++ b/packages/babel-preset-gatsby/src/__tests__/__snapshots__/index.js.snap @@ -45,7 +45,7 @@ Object { Array [ "/node_modules/@babel/preset-env/lib/index.js", Object { - "corejs": 2, + "corejs": 3, "exclude": Array [ "transform-typeof-symbol", ], @@ -120,7 +120,7 @@ Object { Array [ "/node_modules/@babel/preset-env/lib/index.js", Object { - "corejs": 2, + "corejs": 3, "exclude": Array [ "transform-typeof-symbol", ], @@ -187,7 +187,7 @@ Object { Array [ "/node_modules/@babel/preset-env/lib/index.js", Object { - "corejs": 2, + "corejs": 3, "exclude": Array [ "transform-typeof-symbol", ], @@ -254,7 +254,7 @@ Object { Array [ "/node_modules/@babel/preset-env/lib/index.js", Object { - "corejs": 2, + "corejs": 3, "exclude": Array [ "transform-typeof-symbol", ], diff --git a/packages/babel-preset-gatsby/src/__tests__/index.js b/packages/babel-preset-gatsby/src/__tests__/index.js index d59f0b85294bc..6ba025f9539c7 100644 --- a/packages/babel-preset-gatsby/src/__tests__/index.js +++ b/packages/babel-preset-gatsby/src/__tests__/index.js @@ -24,7 +24,7 @@ describe(`babel-preset-gatsby`, () => { expect.stringContaining(path.join(`@babel`, `preset-env`)), { exclude: [`transform-typeof-symbol`], - corejs: 2, + corejs: 3, loose: true, modules: false, useBuiltIns: `usage`,