pajtai / grunt-useref

Update references, concatenate and minify with build blocks
https://npmjs.org/package/grunt-useref
MIT License
26 stars 8 forks source link

cant fetch remote js files #7

Closed pdeva closed 10 years ago

pdeva commented 10 years ago

If i have:

<!--build:js js/combined.<%= grunt.template.today('yyyy-mm-dd-HH-MM-ss') %>.min.js-->
<script src="http//code.highcharts.com/highcharts.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="lib/vex/js/vex.combined.min.js"></script>
<!--endbuild-->

The output from useref will not contain code from highcharts.js and boostrap.min.js.

It needs to be able to fetch remote files...

pajtai commented 10 years ago

i'd suggest first downloading the files to the file system and then using useref. this is more secure. try http://bower.io/ or curl

i would welcome a pr though