0.1.3 • Published 9 years ago

stylus-inline-svg v0.1.3

Weekly downloads
5
License
ISC
Repository
github
Last release
9 years ago

stylus-inline-svg

Wraps stylus.url() to inline SVG images as UTF8 instead of Base64. All other images are passed to the stylus.url() method.

var
	inlineSVG = require('stylus-inline-svg');

stylus(str)
	.set('filename', __dirname + '/css/test.styl')
	.define('url', inlineSVG({'paths': [__dirname + '/public']}))
	.render(function (err, css) {

	});
0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago