I using Yeoman and trying to use grunt to build and optimize my dist.
I noticed that after cdnify:dist
my index.html file is the same after the same and still referencing to local bower.
<script src="bower_components/angular/angular.js"></script>
this build process seem to pass Ok:
Running "cdnify:dist" (cdnify) task
Going through dist/404.html, dist/index.html to update script refs
Using AngularJS 1.2.6, CDNify 0.2.2.
My bower.json seem to be in line with the guidelines
Am I missing something? Is there other alternative?
This is a reported issue with CDNify. It seems google-cdn is hard-coding supported versions, which Angular 1.2.x is currently not.
Dan Smith (AKA X1011), worked around this by using grunt-htmlrefs to update script tags manually. You can see how he did it in this commit of his verge-mobile-bingo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With