Open
Description
Example to reproduce:
var CleanCSS = require('clean-css');
const fs = require('fs');
var input = '.dxbl-pivot > table > thead > tr.dxbl-pivot-area-row > th:nth-last-child(1 of .dxbl-pivot-area-row-field) {' +
' border-right-width: var(--dxbl-pivot-border-width);' +
'}';
var options = { /* options */ };
var output = new CleanCSS(options).minify(input);
fs.writeFileSync('output.css', output.styles);
The output is
.dxbl-pivot>table>thead>tr.dxbl-pivot-area-row>th:nth-last-child(1of.dxbl-pivot-area-row-field){border-right-width:var(--dxbl-pivot-border-width)}
Correct output
.dxbl-pivot>table>thead>tr.dxbl-pivot-area-row>th:nth-last-child(1 of.dxbl-pivot-area-row-field){border-right-width:var(--dxbl-pivot-border-width)}
Metadata
Metadata
Assignees
Labels
No labels