-
Notifications
You must be signed in to change notification settings - Fork 321

Description
Hi there,
Have encountered this errror, which is eliminated when I use --skip-advanced.
Any ideas on what I should be looking for?
/usr/local/lib/node_modules/clean-css/lib/properties/shorthand-compactor.js:86
var c = componentsSoFar[prop].lastShorthand.components[i].clone(isIm
^
TypeError: Cannot call method 'clone' of undefined
at compactSoFar (/usr/local/lib/node_modules/clean-css/lib/properties/shorthand-compactor.js:86:69)
at compactAllSoFar (/usr/local/lib/node_modules/clean-css/lib/properties/shorthand-compactor.js:165:18)
at Object.module.exports.compactShorthands (/usr/local/lib/node_modules/clean-css/lib/properties/shorthand-compactor.js:217:5)
at Optimizer.compact (/usr/local/lib/node_modules/clean-css/lib/properties/optimizer.js:253:33)
at Object.Optimizer.process (/usr/local/lib/node_modules/clean-css/lib/properties/optimizer.js:270:18)
at Optimizer.optimize (/usr/local/lib/node_modules/clean-css/lib/selectors/optimizer.js:289:40)
at Object.Optimizer.process (/usr/local/lib/node_modules/clean-css/lib/selectors/optimizer.js:337:7)
at Object.optimizeSelectors as 0
at replace (/usr/local/lib/node_modules/clean-css/lib/clean.js:103:19)
at CleanCSS.minify (/usr/local/lib/node_modules/clean-css/lib/clean.js:354:5)