Spaces:
Running
Running
Download node_modules/postcss-js/async.js from Chunte/HFBA: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/postcss-js/async.js
- Command line
-
hf download hf://spaces/Chunte/HFBA@refs/pr/1/node_modules/postcss-js/async.js
-
curl -L -o async.js https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/postcss-js/async.js
358 Bytes
| let postcss = require('postcss') | |
| let processResult = require('./process-result') | |
| let parse = require('./parser') | |
| 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) | |
| } | |
| } | |