code: function remove_stylesheet_tags() {
        // We can remove the style tag with impunity, it is always inlining.
        html = html.replace(/<style.+?<\/style>/g, "");
  
        // External style resources use the link tag, check again for externals.
        if (options.clean_stylesheets) {
          html = html.replace(/<link[^>]+>/g, function(str){
            if (str.match(/src=/)) {
              grunt.log.warn('Found LINK tag with SRC attribute.');
              return str;
            }
            else if (! str.match(/ rel=['"]?stylesheet/)) { return str; }
            else if (str.match(/href=['"]?https?/)) { return str; }
            else if (str.match(/href=['"]?\/\//)) { return str; }
            else { return ""; }
          });
        }
      }
docs: Remove style and link tags pointing at local stylesheets