Skip to content

Commit 787295b

Browse files
Filip Pasternakakameco
authored andcommitted
README update
1 parent fdf12f9 commit 787295b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $ extract-messages --help
9393
--flat json [default: true] | yaml [default: false]
9494
--default-locale default locale [default: en]
9595
--delimiter json | yaml [default: .]
96-
--module-name module source name from where components are imported
96+
--module-name module source name from where components are imported [default: react-intl]
9797

9898
Example
9999
$ extract-messages --locales=ja,en --output app/translations 'app/**/*.js'
@@ -164,6 +164,13 @@ If format is `yaml`, set to `false`.
164164
Be careful if `false`.
165165
See [this issue](https://github.com/akameco/extract-react-intl-messages/issues/3).
166166

167+
##### moduleName
168+
169+
Type: `string`<br>
170+
Default: `react-intl`
171+
172+
Set from where _defineMessages_, `<FormatterMessage />` and `<FormattedHTML />` are imported.
173+
167174
## Contributors
168175

169176
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

0 commit comments

Comments
 (0)