({asset})
| 5 | |
| 6 | export default new Transformer({ |
| 7 | async transform({asset}) { |
| 8 | let code = asset.getCode(); |
| 9 | let res = await postcss(processors).process(code, { |
| 10 | map: false, |
| 11 | from: new URL(asset.url).pathname |
| 12 | }); |
| 13 | asset.setCode(res.css); |
| 14 | asset.type = 'css'; |
| 15 | } |
| 16 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected