gulp-cdn-hoist
Move CDN scripts outside the useref build section
If you're using one of the many generators that use cdnify
along with
useref
and you're wondering why you never see any CDN links in your dist/
build, this package is the answer. Any <script>
or <link>
tags that look
like absolute URLs will be moved/hoisted above the useref <!-- build:...>
directive.
Install
npm install gulp-cdn-hoist --save-dev
Usage
npm install gulp gulp-load-plugins gulp-google-cdn gulp-useref gulp-cdn-hoist --save-dev
var gulp = ;var plugins = ; gulp
License
MIT
cdn-nobuild.js Copyright (c) 2014 Michal Jarosz
All other files Copyright (c) 2015 David Mohr