lib/stack.js
function createStack(app, plugins) {
  if (app.enabled('minimal config')) {
    return es.pipe.apply(es, []);
  }
  function enabled(acc, plugin, name) {
    if (plugin == null) {
      acc.push(through.obj());
    }
    if (app.enabled(name + ' plugin')) {
      acc.push(plugin);
    }
    return acc;
  }
  var arr = _.reduce(plugins, enabled, []);
  return es.pipe.apply(es, arr);
}
function createStack(app, plugins) {
  if (app.enabled('minimal config')) {
    return es.pipe.apply(es, []);
  }
  function enabled(acc, plugin, name) {
    if (plugin == null) {
      acc.push(through.obj());
    }
    if (app.enabled(name + ' plugin')) {
      acc.push(plugin);
    }
    return acc;
  }
  var arr = _.reduce(plugins, enabled, []);
  return es.pipe.apply(es, arr);
}
function createStack ( app , plugins ) { if ( app . enabled ( 'minimal config' ) ) { return es . pipe . apply ( es , [ ] ) ; } function enabled ( acc , plugin , name ) { if ( plugin == null ) { acc . push ( through . obj ( ) ) ; } if ( app . enabled ( name + ' plugin' ) ) { acc . push ( plugin ) ; } return acc ; } var arr = _ . reduce ( plugins , enabled , [ ] ) ; return es . pipe . apply ( es , arr ) ; }
Create the default plugin stack based on user settings.

Disable a plugin by passing the name of the plugin + ` plugin`
to `app.disable()`,

**Example:**

```js
app.disable('src:foo plugin');
app.disable('src:bar plugin');
```
Create the default plugin stack based on user settings .