babel-plugin-transform-react-intl
Compile resource keys into function calls
Installation
$ npm install babel-plugin-transform-react-intl
Usage
.babelrc
(Recommended)
Via .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"]
});