mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
Fix #5368
This commit is contained in:
@@ -143,7 +143,12 @@ module.exports = function (Meta) {
|
|||||||
return callback(err);
|
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) {
|
result.warnings().forEach(function (warn) {
|
||||||
winston.verbose(warn.toString());
|
winston.verbose(warn.toString());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user