Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 8cf96b8

Browse files
authored
Update README following the 7.5.0 release to mention defineMessage (#645)
1 parent 04023b2 commit 8cf96b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/babel-plugin-react-intl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ npm install babel-plugin-react-intl
2424

2525
**This Babel plugin only visits ES6 modules which `import` React Intl.**
2626

27-
The default message descriptors for the app's default language will be extracted from: `defineMessages()`, `<FormattedMessage>`; all of which are named exports of the React Intl package.
27+
The default message descriptors for the app's default language will be extracted from: `defineMessages()`, `defineMessage()`, and `<FormattedMessage>`; all of which are named exports of the React Intl package.
2828

2929
If a message descriptor has a `description`, it'll be removed from the source after it's extracted to save bytes since it isn't used at runtime.
3030

0 commit comments

Comments
 (0)