packages/browser-sync/lib/internal-events.js
function(data) {
            if (data.active) {
                bs.pluginManager.enablePlugin(data.name);
            } else {
                bs.pluginManager.disablePlugin(data.name);
            }
            bs.setOption("userPlugins", bs.getUserPlugins());
        }
function(data) {
            if (data.active) {
                bs.pluginManager.enablePlugin(data.name);
            } else {
                bs.pluginManager.disablePlugin(data.name);
            }
            bs.setOption("userPlugins", bs.getUserPlugins());
        }
function ( data ) { if ( data . active ) { bs . pluginManager . enablePlugin ( data . name ) ; } else { bs . pluginManager . disablePlugin ( data . name ) ; } bs . setOption ( "userPlugins" , bs . getUserPlugins ( ) ) ; }
Plugin configuration setting
@param data
Plugin configuration setting