kss
kss copied to clipboard
Compiling with base64 in CSS
The compilation is very very very very ... very very very very ... very .. very very very very ... very ... slow when you have base64 datas in your CSS.
Like this one, it import a base64 font:
src: url(~"data:font/truetype;charset=utf-8;base64,AAEA…") format('truetype');
Also, its a .less file
Do you have any information on the file size of your css file, or maybe have an example file that's slow?
Of course, here's the gist: https://gist.github.com/AlexandreBroudin/7640659/raw/4f0cafe1b7e0fcd1526613af97ef52f5e772b4cd/Font+awesome+base64
Rad :zap: — I'm not sure when I'll have the time to look into this, but now we have a test case to run against.