/* global require, module */

var Angular2App = require('angular-cli/lib/broccoli/angular2-app');

module.exports = function(defaults) {
  return new Angular2App(defaults, {
    vendorNpmFiles: [
      'systemjs/dist/system-polyfills.js',
      'systemjs/dist/system.src.js',
      'zone.js/dist/**/*.+(js|js.map)',
      'es6-shim/es6-shim.js',
      'reflect-metadata/**/*.+(js|js.map)',
      'rxjs/**/*.+(js|js.map)',
      '@angular/**/*.+(js|js.map)',
      '@angular2-material/**/*',
      'angular2-highcharts/**/*',
      'highcharts/**/*'
    ]
  });
};

@@ -511,24 +511,37 @@
 hcharts/**/*
+.+(js%7Cjs.map)
 ',%0A      'hi
@@ -553,16 +553,29 @@
 rts/**/*
+.+(js%7Cjs.map)
 '%0A    %5D%0A

optimize distributed files