index.js
function genStyleSection(style, styles, options) {
    if (shouldReplaceCurrentSection(style, styles, options)) {
        replaceWithSpacer(style);
    }

    // Remove the 'id', theme' and 'replace' attributes from the output set of
    // attributes since they're not really valid SFC <style> attributes
    _.set(style, 'attrs', _.omit(style.attrs, 'id', 'theme', 'replace'));

    return genSection('style', style);
}
function genStyleSection(style, styles, options) {
    if (shouldReplaceCurrentSection(style, styles, options)) {
        replaceWithSpacer(style);
    }

    // Remove the 'id', theme' and 'replace' attributes from the output set of
    // attributes since they're not really valid SFC <style> attributes
    _.set(style, 'attrs', _.omit(style.attrs, 'id', 'theme', 'replace'));

    return genSection('style', style);
}
function genStyleSection ( style , styles , options ) { if ( shouldReplaceCurrentSection ( style , styles , options ) ) { replaceWithSpacer ( style ) ; } // Remove the 'id', theme' and 'replace' attributes from the output set of // attributes since they're not really valid SFC <style> attributes _ . set ( style , 'attrs' , _ . omit ( style . attrs , 'id' , 'theme' , 'replace' ) ) ; return genSection ( 'style' , style ) ; }
Given a style section from vue-template-compiler, generate the resulting output style section, stripping inactive theme style blocks
Given a style section from vue - template - compiler generate the resulting output style section stripping inactive theme style blocks