4.0.0 • Published 6 months ago

gulp-google-cdn v4.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 months ago

gulp-google-cdn

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

const gulp = require('gulp');
const googleCdn = require('gulp-google-cdn');

exports.default = () => (
	gulp.src('index.html')
		.pipe(googleCdn(require('./bower.json')))
		.pipe(gulp.dest('dist'))
);

API

googleCdn(bowerConfig, options?)

bowerConfig

Type: object

options

Type: object

See the google-cdn options.

4.0.0

6 months ago

3.0.0

6 years ago

2.1.0

8 years ago

2.0.0

9 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.5.0

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago