Replaces script references with Google CDN ones
JavaScript
Latest commit d110328 Nov 14, 2015 @sindresorhus 2.1.0
Permalink
Failed to load latest commit information.
.editorconfig tweaks Aug 14, 2014
.gitattributes init Jan 2, 2014
.gitignore init Jan 2, 2014
.jshintrc tweaks Aug 14, 2014
.travis.yml Update .travis.yml Feb 8, 2015
bower.json fix tests for changes in the jquery package Jul 26, 2014
index.js tweaks Aug 14, 2014
license tweaks Aug 14, 2014
package.json 2.1.0 Nov 14, 2015
readme.md Update readme.md Feb 8, 2015
test.js tweaks Aug 14, 2014

readme.md

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

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

Usage

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

gulp.task('default', function () {
    return 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