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