0

sass在使用 libsas 时无法编译某些行

我已经包含了这行 sass 产生的整个错误:

SASS

.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://images2.moneysavingexpert.com/images/colorbox/internet_explorer/borderTopLeft.png", sizingMethod='scale');}

错误

C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\selectors\optimizers\simple.js:176
    property[1][0] = property[1][0].replace(/progid:DXImageTransform\.Microsof
                                ^
TypeError: Cannot read property '0' of undefined
    at minifyFilter (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\selectors\optimizers\simple.js:176:33)
    at optimizeBody (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\selectors\optimizers\simple.js:272:7)
    at _optimize (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\selectors\optimizers\simple.js:316:11)
    at SimpleOptimizer.optimize (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\selectors\optimizers\simple.js:342:3)
    at SelectorsOptimizer.process (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\selectors\optimizer.js:16:37)
    at C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\clean.js:185:31
    at run (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\clean.js:172:7)
    at minify (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\clean.js:184:3)
    at whenSourceMapReady (C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\clean.js:101:7)
    at C:\var\www\mobile 2\node_modules\gulp-minify-css\node_modules\clean-css\lib\clean.js:117:18

如何使用 libsass 成功编译?

4

0 回答 0