{"size": 547, "ext": "js", "max_stars_repo_path": "gulpfile.js", "max_stars_repo_name": "davidcarter1108/angular2-samples", "max_stars_repo_stars_event_min_datetime": "2018-08-21T03:54:30.000Z", "max_stars_repo_stars_event_max_datetime": "2018-08-21T03:54:30.000Z", "max_issues_repo_path": "gulpfile.js", "max_issues_repo_name": "davidcarter1108/angular2-samples", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gulpfile.js", "max_forks_repo_name": "davidcarter1108/angular2-samples", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.0476190476, "max_line_length": 59, "alphanum_fraction": 0.5191956124}
var gulp = require('gulp');

gulp.task('bundle', function() {
    var SystemBuilder = require('systemjs-builder');
    var builder = new SystemBuilder();

    builder.loadConfig('./system.config.js')
        .then(function(){
            var outputFile = 'dist/bundle.js';
            return builder.buildStatic('app', outputFile, {
                minify: true,
                mangle: true,
                rollup: true
            });
        })
        .then(function(){
            console.log('bundle built successfully!');
        });
});

