This commit is contained in:
2026-05-12 02:29:47 +02:00
parent bf304e17c9
commit ee054955b9
1358 changed files with 243486 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
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)
}