UXtemple/babel-plugin-react-autoprefix

Babel 6 - Template Literal issue

Opened this issue · 3 comments

someComponent = () => {
  <div style={{ backgroundImage = `url(${image})`}} />
}

Results in backgroundImage: undefined in the browser. I belive this is caused by this plugin, because removing this plugin solves the issue.

Thanks for the bug report. I'm super busy these days and don't know when I'll have time to look at this. In the meantime, you're welcome to submit a PR!

I looked at the code but wasn't able to understand the internals at all. If you guide me I can give it a try again.