Spaces:
Running
Running
Download node_modules/postcss-js/sync.js from Chunte/HFBA: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/postcss-js/sync.js
- Command line
-
hf download hf://spaces/Chunte/HFBA@refs/pr/1/node_modules/postcss-js/sync.js
-
curl -L -o sync.js https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/postcss-js/sync.js
325 Bytes
| let postcss = require('postcss') | |
| let processResult = require('./process-result') | |
| let parse = require('./parser') | |
| module.exports = function (plugins) { | |
| let processor = postcss(plugins) | |
| return input => { | |
| let result = processor.process(input, { parser: parse, from: undefined }) | |
| return processResult(result) | |
| } | |
| } | |