lasso-js / lasso-less

Lasso.js plugin to support compilation of less dependencies
7 stars 10 forks source link

Add support for Base64 encoding of resources #6

Closed patrick-steele-idem closed 8 years ago

patrick-steele-idem commented 9 years ago

Example:

Input Less file:

.data-image {
  background-image: url(./foo.png?base64);
}

Output CSS:

.data-image {
  background-image: url(data:image/png;base64,...);
}
patrick-steele-idem commented 8 years ago

This is supported with the latest version of lasso.