gulp-symlink

Create symlinks during your gulp build.

npm install gulp-symlink
13 downloads in the last day
99 downloads in the last week
273 downloads in the last month

gulp-symlink Build Status NPM version Dependency Status

Create symlinks during your gulp build.

Installation

Install via npm:

npm install gulp-symlink --save-dev

Example

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

gulp.task('default', function() {
    gulp.src('assets/some-large-video.mp4')
        .pipe(symlink('build/videos'))
});

API

Pass a string of where you would like the symlink(s) to go.

Symlinks each file in the stream into targetDir renaming it according to rename. If rename is a string, the resulting file will be given its value as name. Otherwise, if renameis a function, it should take the source filename as its single parameter and should return the desired target filename.

npm loves you