I'm trying to explore a custom solution for combing the style tags in .svelte files. It seems to work so far, but the processString() function returns an identical string.
When I console.log(comb), I can see that it is indeed recieving the config. Everything also works if I simply make a .css file and run npx csscomb scripts/comb.css --config scripts/csscomb.json
I'm wondering if there's something obvious I'm missing in order to get back the processed string? I'm hoping once I have that, I can just write it back to the .svelte file.
Anyways- thanks for such an awesome tool!! I'm excited to be able to use it in .svelte files.
Hey guys!
I'm trying to explore a custom solution for combing the
style
tags in.svelte
files. It seems to work so far, but theprocessString()
function returns an identical string.My implementation reads as follows:
When I
console.log(comb)
, I can see that it is indeed recieving the config. Everything also works if I simply make a .css file and runnpx csscomb scripts/comb.css --config scripts/csscomb.json
I'm wondering if there's something obvious I'm missing in order to get back the processed string? I'm hoping once I have that, I can just write it back to the
.svelte
file.Anyways- thanks for such an awesome tool!! I'm excited to be able to use it in
.svelte
files.