Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 709 Bytes

README.md

File metadata and controls

52 lines (38 loc) · 709 Bytes

gulp-supersede Build Status

Example

index.html

<html>
	<head>
	</head>
	<body>
		<div supersede="helloworld.txt"> </div>
...

helloworld.txt

Hello World!

gulpfile.js

var gulp = require('gulp');
var supersede = require('gulp-supersede');

gulp.task('default', function () {
	gulp.src('index.html')
		.pipe(supersede())
		.pipe(gulp.dest('path'));
});

path/index.html

<html>
	<head>
	</head>
	<body>
	<!-- supersede: helloworld.txt -->
	Hello World!
	<!-- end supersede -->
...

License

MIT © 247even