gulp-google-cdn

Replaces script references with Google CDN ones

npm install gulp-google-cdn
1 downloads in the last day
6 downloads in the last week
31 downloads in the last month

gulp-google-cdn Build Status

Replaces script references with Google CDN ones

Issues with the output should be reported on the google-cdn issue tracker.

Install

Install with npm

npm install --save-dev gulp-google-cdn

Example

var gulp = require('gulp');
var googlecdn = require('gulp-google-cdn');

gulp.task('default', function () {
    gulp.src('index.html')
        .pipe(googlecdn(require('./bower.json')))
        .pipe(gulp.dest('dist'));
});

API

googlecdn(bowerConfig, [options])

bowerConfig

Required
Type: Object

options

See the google-cdn options.

License

MIT © Sindre Sorhus

npm loves you