This repository has been archived on 2020-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
Syllabus/themes/piratecare/node_modules/postcss-js/process-result.js

12 lines
295 B
JavaScript

var objectify = require('./objectifier')
module.exports = function (result) {
if (console && console.warn) {
result.warnings().forEach(function (warn) {
var source = warn.plugin || 'PostCSS'
console.warn(source + ': ' + warn.text)
})
}
return objectify(result.root)
}