import Builder from './lib/cli/builder';

export default class DenaliBuilder extends Builder {

  babelOptions() {
    let options = super.babelOptions(...arguments);
    if (this.environment === 'test') {
      options.plugins.push('istanbul');
    }
    return options;
  }

}

import { Builder } from 'denali';

export default class DenaliBuilder extends Builder {
}

use standard denali-build.js syntax