Open BrRenat opened 7 years ago
Good point! Thank you.
It seems the problem in PostCSS:
We'll need to investigate more deeply why the latests fixes by @ai are not working for https://github.com/axept/prejss-postcss-parser while it's using pretty new version of postcss-js.
postcssJs.objectify
transforms float
to cssFloat
, because it is reserved keyword in some browsers
Andrey @ai, thanks for clarification. But it seems stringified keys like:
result['float'] = 'left'
Could be used without any problems. Or I'm wrong here?
Hm. To understand how to fix problem, I need to know what is the real problem here.
Maybe I do not understand something, but when i set property float
float: left
it transform to'cssFloat': 'left'