0.1.1 • Published 9 years ago
gulp-dest-paths v0.1.1
gulp-dest-paths
Adds destination related properties to the
file.data.dest
object on vinyl files.
Why file.data.dest
?
- To keep the properties from poluting the root of the file object.
data
is commonly used for storing custom values.- If you use assemble, verb or generate, these values are merged onto the context, so they can be used in templates.
Table of contents
(Table of contents generated by verb)
Install with npm
npm i gulp-dest-paths --save
Usage
var app = require('gulp-dest-paths');
Related projects
- gulp-drafts: Gulp plugin for removing files flagged as drafts. Can also be used as an assemble… more
- gulp-dest: Gulp plugin for easily defining destination paths using path variables.
- gulp-extname: gulp plugin to dynamically rewrite dest extensions based on src extensions.
- gulp-htmlmin: gulp plugin to minify HTML.
- gulp-routes: Add middleware to run for specified routes in your gulp pipeline.
Running tests
Install dev dependencies:
npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on May 04, 2015.assemble: http://assemble.io