Skip to content

Commit cb1bf12

Browse files
committed
Add flow comments to build
1 parent cb7d899 commit cb1bf12

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"es2015",
44
"stage-1",
55
"react"
6+
],
7+
"plugins": [
8+
"transform-flow-comments",
69
]
710
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"babel-core": "^6.5.1",
3232
"babel-eslint": "^6.0.2",
3333
"babel-loader": "^6.2.2",
34+
"babel-plugin-transform-flow-comments": "^6.7.0",
3435
"babel-preset-es2015": "^6.5.0",
3536
"babel-preset-react": "^6.5.0",
3637
"babel-preset-stage-1": "^6.5.0",

0 commit comments

Comments
 (0)