source: frontend/node_modules/postcss-js/process-result.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 300 bytes
Line 
1let objectify = require('./objectifier')
2
3module.exports = function processResult(result) {
4 if (console && console.warn) {
5 result.warnings().forEach(warn => {
6 let source = warn.plugin || 'PostCSS'
7 console.warn(source + ': ' + warn.text)
8 })
9 }
10 return objectify(result.root)
11}
Note: See TracBrowser for help on using the repository browser.