Skip to content

Commit f039adb

Browse files
authored
Merge pull request #41 from brionmario/fix-transpilation-issues
Fix transpilation issues due to `@babel/plugin-proposal-logical-assignment-operators`
2 parents 0f207ee + b7b627b commit f039adb

3 files changed

Lines changed: 4794 additions & 1509 deletions

File tree

babel.config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"plugins": [ "@babel/plugin-proposal-logical-assignment-operators" ],
3+
"presets": [
4+
[
5+
"babel-preset-gatsby",
6+
{
7+
"targets": {
8+
"browsers": [
9+
">0.25%",
10+
"not dead"
11+
]
12+
}
13+
}
14+
]
15+
]
16+
}

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
"now-build": "yarn run build"
99
},
1010
"dependencies": {
11-
"@primer/gatsby-theme-doctocat": "^3.1.0",
12-
"gatsby": "^2.13.25",
11+
"@primer/gatsby-theme-doctocat": "^4.0.0",
12+
"gatsby": "^2.32.13",
1313
"react": "^16.9.0",
1414
"react-dom": "^16.9.0"
15+
},
16+
"devDependencies": {
17+
"@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
18+
"babel-preset-gatsby": "^2.20.0"
1519
}
16-
}
20+
}

0 commit comments

Comments
 (0)