ddliu / gulp-remote-src

Remote gulp.src
MIT License
20 stars 6 forks source link
gulp gulp-plugin http nodejs remote request src

gulp-remote-src

Build Status

Remote gulp.src.

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-remote-src

Usage

var gulp = require('gulp');
var uglify = require('gulp-uglify');
var remoteSrc = require('gulp-remote-src');

gulp.task('remote', function() {

remoteSrc(['app.js', 'jquery.js'], {
        base: 'http://myapps.com/assets/'
    })
    .pipe(uglify())
    .pipe(gulp.dest('./dist/'));
})

Options