Open jknight12882 opened 8 years ago
Any movement on this?
I opened a PR to fix this
But I think it's probably better to use babel first to compile and then jsxtext on top. In my case with a create-react-app boilerplate and yarn
yarn run jsxgettext -k '__' -o ../locales/elevo_front.pot <(NODE_ENV='production' yarn run -s babel src/ --presets=react-app)
This is particularly important for
Redux
projects which widely promotes the pattern.Looks like there is a new acorn plugin which adds support https://github.com/UXtemple/acorn-object-spread