I have prepared a repo to demonstrate the problem:
https://github.com/Tomekmularczyk/react-starter/tree/intl
yarn intl creates json files in /static/intl/ directory but they are missing lot of messages declared with defineMessages across src directory.