0.0.1 • Published 8 years ago

babel-plugin-transform-react-intl v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

babel-plugin-transform-react-intl

Compile resource keys into function calls

Installation

$ npm install babel-plugin-transform-react-intl

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-react-intl"]
}

Via CLI

$ babel --plugins transform-react-intl script.js

Via Node API

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