File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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`.
164164Be careful if ` false ` .
165165See [ 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
169176Thanks goes to these wonderful people ([ emoji key] ( https://github.com/kentcdodds/all-contributors#emoji-key ) ):
You can’t perform that action at this time.
0 commit comments