Skip to content

Commit 6ccf4d9

Browse files
committed
feat: add babel-plugin-extract-react-types
1 parent 2a0d273 commit 6ccf4d9

File tree

3 files changed

+623
-12
lines changed

3 files changed

+623
-12
lines changed

gatsby-theme-woly/.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["babel-preset-gatsby"],
3+
"plugins": ["babel-plugin-extract-react-types"]
4+
}

gatsby-theme-woly/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"dependencies": {
3131
"@mdx-js/mdx": "^1.6.22",
3232
"@mdx-js/react": "^1.6.22",
33+
"babel-plugin-extract-react-types": "^0.1.14",
34+
"babel-preset-gatsby": "^1.1.0",
3335
"change-case": "^4.1.2",
3436
"gatsby-plugin-mdx": "^1.10.0",
3537
"gatsby-plugin-react-helmet": "^3.10.0",

0 commit comments

Comments
 (0)