Skip to content

Commit

Permalink
fix: babel options (#7865)
Browse files Browse the repository at this point in the history
* fix: babel options

we don't need to disable babelrc lookup now that we are using the babel apis

* update snapshots
  • Loading branch information
jquense authored and pieh committed Sep 5, 2018
1 parent 0c032cf commit 9c45441
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Object {
"stages": Object {
"build-html": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -19,7 +18,6 @@ Object {
},
"build-javascript": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -33,7 +31,6 @@ Object {
},
"develop": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -47,7 +44,6 @@ Object {
},
"develop-html": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -68,7 +64,6 @@ Object {
"stages": Object {
"build-html": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -82,7 +77,6 @@ Object {
},
"build-javascript": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -96,7 +90,6 @@ Object {
},
"develop": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand All @@ -110,7 +103,6 @@ Object {
},
"develop-html": Object {
"options": Object {
"babelrc": false,
"cacheDirectory": true,
"sourceType": "unambiguous",
},
Expand Down
4 changes: 0 additions & 4 deletions packages/gatsby/src/redux/reducers/babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module.exports = (
presets: [],
options: {
cacheDirectory: true,
babelrc: false,
sourceType: `unambiguous`,
},
},
Expand All @@ -17,7 +16,6 @@ module.exports = (
presets: [],
options: {
cacheDirectory: true,
babelrc: false,
sourceType: `unambiguous`,
},
},
Expand All @@ -26,7 +24,6 @@ module.exports = (
presets: [],
options: {
cacheDirectory: true,
babelrc: false,
sourceType: `unambiguous`,
},
},
Expand All @@ -35,7 +32,6 @@ module.exports = (
presets: [],
options: {
cacheDirectory: true,
babelrc: false,
sourceType: `unambiguous`,
},
},
Expand Down

0 comments on commit 9c45441

Please sign in to comment.