JSPM

  • Created
  • Published
  • Downloads 367665
  • Score
    100M100P100Q177488F
  • License Zlib

Babel preset for flow typechecker

Package Exports

  • babel-preset-flow

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-preset-flow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

babel-preset-flow version-i

It contains syntax-flow and transform-flow-strip-types plugins.

// index.js
module.exports = {
  plugins: [
    require('babel-plugin-syntax-flow'),
    require('babel-plugin-transform-flow-strip-types'),
  ],
}

Zlib License