Frontend/25_01_07/mai/node_modules/postcss-js/process-result.js
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00

12 lines
300 B
JavaScript

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)
}