Grunt: Bower for development and CDN for production - is it possible?

Posted by EricC on Stack Overflow See other posts from Stack Overflow or by EricC
Published on 2014-05-26T17:55:19Z Indexed on 2014/06/08 15:25 UTC
Read the original article Hit count: 192

Filed under:
|

For development, I guess it is fine to use a plugin like https://github.com/stephenplusplus/grunt-wiredep

But for production I would like to use CDN where such exists. Does it exist a Grunt plugin that goes through the bower.json file and replaces this with a CDN-link from the most popular ones (and if a component is present in more than one CDN, then pick one based on rank-setting or random or something).

© Stack Overflow or respective owner

Related posts about gruntjs

Related posts about bower