mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-15 19:27:17 +02:00
fix: Rename use-auth.js to use-auth.jsx for JSX support
This commit is contained in:
2875 files changed
+459559
-2
No files matched your search
+11
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user