mirror of
https://github.com/Dvorinka/ClubLogos.git
synced 2026-06-04 03:52:57 +00:00
fff
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