Skip to content

rakesh0r/gulp-file64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-file64 Build Status

Convert and replace image-files within your DOM/HTML to base64-encoded data.

Example

gulpfile.js
var gulp = require('gulp');
var file64 = require('gulp-file64');

gulp.task('default', function () {
	gulp.src('index.html')
		.pipe(file64())
		.pipe(gulp.dest('path'));
});
index.html // Before...
<html>
	<head>
	</head>
	<body>
		<img src="sample.png" />
...

License

MIT © rakesh0r

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published