fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
11
node_modules/postcss-js/process-result.js
generated
vendored
Normal file
11
node_modules/postcss-js/process-result.js
generated
vendored
Normal 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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue