1.0.0 • Published 7 years ago
@simonlc/gulp-ssi v1.0.0
gulp-ssi
Server Side Includes parser plugin for gulp
Works with both include types
<!--#include file="includes/navigation.html" --><!--#include virtual="../templates/navigation.html" -->Usage
First, install gulp-ssi as a development dependency:
npm install --save-dev gulp-ssiThen, add it to your gulpfile.js:
var ssi = require("gulp-ssi");
gulp.src("./src/*.ext")
	.pipe(ssi({
		root: '/my-pages'
	}))
	.pipe(gulp.dest("./dist"));Options
root (optional)
Type: String
Default: File directory
Set the location where the linked files are hosted.
License
1.0.0
7 years ago

