Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Where do you call defineMessages ? #53

Closed
lauterry opened this issue May 27, 2016 · 1 comment
Closed

Where do you call defineMessages ? #53

lauterry opened this issue May 27, 2016 · 1 comment

Comments

@lauterry
Copy link

Hello

Does the defineMessages function need to be called FROM a react component for the babel-plugin-react-intl to work ?

For example, can I call defineMessages in a simple JS file ?

Best regards

@lauterry
Copy link
Author

Ok I have just noticed that my test has succeeded.

So the answer is YES

Sorry for the noise

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant