Merge pull request #5453 from NodeBB/patch_5369

Fix #5368
This commit is contained in:
Julian Lam
2017-02-17 08:48:57 -05:00
committed by GitHub

View File

@@ -143,7 +143,12 @@ module.exports = function (Meta) {
return callback(err);
}
postcss(global.env === 'development' ? [ autoprefixer ] : [ autoprefixer, clean() ]).process(lessOutput.css).then(function (result) {
postcss(global.env === 'development' ? [ autoprefixer ] : [
autoprefixer,
clean({
processImportFrom: ['local']
}),
]).process(lessOutput.css).then(function (result) {
result.warnings().forEach(function (warn) {
winston.verbose(warn.toString());
});