Compile away polished helpers.
In
import * as polished from 'polished';
let value = polished.clearFix();Out
let value = {
'&::after': {
clear: 'both',
content: '',
display: 'table'
}
};$ npm install babel-plugin-polished.babelrc
{
"plugins": ["polished"]
}$ babel --plugins polished script.jsrequire("babel-core").transform("code", {
plugins: ["polished"]
});