babel-plugin-transform-react-intl
v0.0.1
Published
Transform const resource keys to function calls
Downloads
3
Readme
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"]
});