Skip to content

Commit

Permalink
fix(babel-preset-gatsby): Adds a missing resolve call (#16084)
Browse files Browse the repository at this point in the history
* Adds a missing `resolve` call

* Update dependencies.js.snap
  • Loading branch information
arcanis authored and GatsbyJS Bot committed Jul 25, 2019
1 parent ec8371e commit c37f2be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -17,7 +17,7 @@ Object {
],
"presets": Array [
Array [
"@babel/preset-env",
"<PROJECT_ROOT>/node_modules/@babel/preset-env/lib/index.js",
Object {
"corejs": 2,
"exclude": Array [
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-gatsby/src/dependencies.js
Expand Up @@ -18,7 +18,7 @@ module.exports = function(api, options = {}) {
presets: [
[
// Latest stable ECMAScript features
`@babel/preset-env`,
resolve(`@babel/preset-env`),
{
// Allow importing core-js in entrypoint and use browserlist to select polyfills
useBuiltIns: `usage`,
Expand Down

0 comments on commit c37f2be

Please sign in to comment.