link-assets
v0.0.8
Published
Spits out an HTML fragement file with links to any given assets
Downloads
25
Readme
link-assets v0.0.8
Information
Example usage with Gulp
var gulp = require('gulp');
var linkAssets = require('./');
gulp.task('include', function () {
gulp.src('./css/*.css')
.pipe(linkAssets('styles.html'))
.pipe(gulp.dest('./includes/'));
});
gulp.task('default', ['include']);
linkAssets(fileName, options)
Notes
- Forward slashes are always used no matter which platform.