|
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 | |
|---|
| 1 | let objectify = require('./objectifier')
|
|---|
| 2 |
|
|---|
| 3 | module.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.