mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-16 12:45:42 +02:00
fase 5
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
let postcss = require('postcss')
|
||||
|
||||
let parse = require('./parser')
|
||||
let processResult = require('./process-result')
|
||||
|
||||
module.exports = function async(plugins) {
|
||||
let processor = postcss(plugins)
|
||||
return async input => {
|
||||
let result = await processor.process(input, {
|
||||
parser: parse,
|
||||
from: undefined
|
||||
})
|
||||
return processResult(result)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user