Options param
carlgrundberg opened this issue · comments
In your example script you pass defaultLocale as the fourth parameter, but it is an options parameter that has defaultLocale as one of the options.
This works:
extractReactIntlMessages(locales, pattern, buildDir, { defaultLocale });
Thank you @carlgrundberg 👍
Would you write a PR?