Add a transformer to switch to minified version & CDN

Closes #1
I think it's a bit of a shame here as this api is quite nice - ie if you don't have anything to do just do nothing.
But I also have some conventions that nobody else really gets :) so I can understand your point and will update tomorrow.

On 17 août 2014 23:19:00 CEST, Seth Ladd <notifications@github.com> wrote:
>> +  String get allowedExtensions => '.html';
>> +
>> +  BootstrapUrlTransformer.asPlugin(BarbackSettings settings) {
>> +    releaseMode = settings.mode == BarbackMode.RELEASE;
>> +    bootstrapUrl = settings.configuration['url'];
>> +    var version = settings.configuration['version'];
>> +    if (bootstrapUrl != null) {
>> +      if (bootstrapUrl.contains('{{version}}') && version != null) {
>> +        bootstrapUrl = bootstrapUrl.replaceAll('{{version}}',
>'$version');
>> +      }
>> +      if (!bootstrapUrl.endsWith('/')) bootstrapUrl += '/';
>> +    }
>> +  }
>> +
>> +  Future apply(Transform transform) {
>> +    if (releaseMode) {
>
>Yes, please.
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/sethladd/bootstrap_for_pub/pull/9/files#r16332182