This plugin aims to extend lib-sass/node-sass with two functions to convert a file into a data uri and embedd these inside the css. Works gulp-sass package and integrates with jspm.
var gulp = ;var changed = ;var sass = ;var sassJspm = ;var sassDataURI = ;gulp;
This plugin supports paths which are relative to the process execution folder and jspm urls which have to be prefixed with
Relative: ../some/other/folder/font.woff JSPM: jspm:font-awesome/fonts/fontawesome-webfont.woff
data-url($filePath) Converts the file content into a data uri and returns it with wrapping
data-uri($filePath) Convertes the file content into a data uri and returns it as string