Skip to content

Commit ad6c1f0

Browse files
authored
fix(gatsby-plugin-flow): add .babelrc to transpile to cjs (#12490)
* fix(gatsby-plugin-flow): add .babelrc to transpile to cjs * add dev dep
1 parent 63cc996 commit ad6c1f0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/gatsby-plugin-flow/.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": [["babel-preset-gatsby-package"]]
3+
}

packages/gatsby-plugin-flow/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"devDependencies": {
3030
"@babel/cli": "^7.0.0",
3131
"@babel/core": "^7.0.0",
32+
"babel-preset-gatsby-package": "^0.1.3",
3233
"cross-env": "^5.0.5"
3334
}
3435
}

0 commit comments

Comments
 (0)