Merge pull request #5453 from NodeBB/patch_5369

Fix #5368
v1.18.x
Julian Lam 8 years ago committed by GitHub
commit 5ee2aa8adb

@ -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());
});

Loading…
Cancel
Save