Closed davewallace closed 7 years ago
Can you provide me the sourcecode?
Again, maybe you try gulp-rcs
👍
I just tried it with bootstrap.css
. There is indeed a bug - I will solve that as soon I have time.
Your problem should now be fixed with v0.1.0
. I will also update gulp-rcs
soon.
You might get other errors if you want to rename .less
files. In those files are mixins, functions and other stuff, so it is pretty hard to filter all those .less
features. It is better to rename already processed .less
files to prevent any errors. So if you want to rename selectors in .less
you will still get errors, as it triggers .alert-variant(@alert-warning-bg;
, which is not a valid CSS syntax.
Nice one, thanks @JPeer264 :)
I was hoping to test this library out on Bootstrap 3, to see if renaming their selectors with a prefix would be a workable solution. My other issue is a blocker to test on compiled CSS output and so I ran the default processCss() function on BS3's latest .less structure and generator regex errors:
So next I tried the default processCss() on BS3's unminified dist CSS source (
bootstrap.css
) which again generated a regex throw:Any ideas/thoughts?