UNPKG

ts-transform-react-intl

Version:

Extracts string messages for translation from modules that use React Intl.

10 lines (6 loc) 641 B
# ts-transform-react-intl [![Greenkeeper badge](https://badges.greenkeeper.io/longlho/ts-transform-react-intl.svg)](https://greenkeeper.io/) [![npm version](https://badge.fury.io/js/ts-transform-react-intl.svg)](https://badge.fury.io/js/ts-transform-react-intl) [![travis](https://travis-ci.org/longlho/ts-transform-react-intl.svg?branch=master)](https://travis-ci.org/longlho/ts-transform-react-intl) Extracts string messages for translation from modules that use React Intl (similar to [`babel-plugin-react-intl`](https://github.com/yahoo/babel-plugin-react-intl)). Take a look at [`compile.ts`](compile.ts) for example in integration.