Mario Romano 29df96a085 react app
2016-04-06 17:52:19 +01:00
..
2016-04-06 17:52:19 +01:00
2016-04-06 17:52:19 +01:00
2016-04-06 17:52:19 +01:00
2016-04-06 17:52:19 +01:00

babel-plugin-syntax-flow

Installation

$ npm install babel-plugin-syntax-flow

Usage

.babelrc

{
  "plugins": ["syntax-flow"]
}

Via CLI

$ babel --plugins syntax-flow script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-flow"]
});