You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
let objectify = require('./objectifier') |
|
|
|
module.exports = function processResult(result) { |
|
if (console && console.warn) { |
|
result.warnings().forEach(warn => { |
|
let source = warn.plugin || 'PostCSS' |
|
console.warn(source + ': ' + warn.text) |
|
}) |
|
} |
|
return objectify(result.root) |
|
}
|
|
|