First version

This commit is contained in:
Senad Uka
2023-07-05 11:02:15 +02:00
parent f21c24b599
commit 8eabf79994
4052 changed files with 723968 additions and 232443 deletions

View File

@@ -1,9 +1,9 @@
let objectify = require('./objectifier')
var objectify = require('./objectifier')
module.exports = function processResult(result) {
module.exports = function (result) {
if (console && console.warn) {
result.warnings().forEach(warn => {
let source = warn.plugin || 'PostCSS'
result.warnings().forEach(function (warn) {
var source = warn.plugin || 'PostCSS'
console.warn(source + ': ' + warn.text)
})
}