kjelsrud.dev/node_modules/postcss-js/process-result.js
sindrekjelsrud bb41712ce4 add TailwindCSS
+ a lot of node_modules?? unsure what happened
2023-07-20 20:28:44 +02:00

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