Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 615bcea0c3a6c7881ec4cfe72ba14753dbe6fbcb
Choose a base ref
...
head repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f3f1bbc4b75e4ede40500e899449820c958a72ff
Choose a head ref
Loading
Showing 6,826 changed files with 810,608 additions and 281,362 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 5 additions & 11 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
let ignore = [`**/dist`]
const ignore = [`**/dist`]

// Jest needs to compile this code, but generally we don't want this copied
// to output folders
if (process.env.NODE_ENV !== `test`) {
ignore.push(`**/__tests__`)
}
// if (process.env.NODE_ENV !== `test`) {
// ignore.push(`**/__tests__`)
// }

module.exports = {
sourceMaps: true,
presets: ["babel-preset-gatsby-package"],
overrides: [
{
test: "**/*.ts",
plugins: [["@babel/plugin-transform-typescript", { isTSX: true }]],
},
],
presets: [`babel-preset-gatsby-package`],
ignore,
}
Loading