Skip to content

Commit 8cf691f

Browse files
committed
Add babel-plugin-transform-flow-strip-types
1 parent 8a0a61d commit 8cf691f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'react',
55
],
66
plugins: [
7-
'transform-es2015-modules-commonjs',
7+
'transform-flow-strip-types',
88
'transform-class-properties',
99
['transform-object-rest-spread', { useBuiltIns: true }],
1010
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"babel-core": "^6.23.1",
5454
"babel-eslint": "^7.2.2",
5555
"babel-plugin-transform-class-properties": "^6.23.0",
56-
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
56+
"babel-plugin-transform-flow-strip-types": "^6.22.0",
5757
"babel-plugin-transform-object-rest-spread": "^6.23.0",
5858
"babel-preset-es2015": "^6.24.1",
5959
"babel-preset-react": "^6.23.0",

0 commit comments

Comments
 (0)