Commit updated Javascript packages
This commit is contained in:
11
build/javascript/node_modules/postcss-js/process-result.js
generated
vendored
Normal file
11
build/javascript/node_modules/postcss-js/process-result.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user