From 369ada646fd69182e72df79f33f74ef9adc38c13 Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Sat, 3 Oct 2015 19:36:41 -0500 Subject: [PATCH] temp fix for alpha38 --- gulpfile.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index c8c01a47cc..9f6b107ba6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -192,6 +192,16 @@ gulp.task('bundle.ionic', ['transpile'], function() { //TODO minify + sourcemaps }); +gulp.task('temp.hack', function(){ + var insert = require('gulp-insert'); + + var fileName = 'angular2.dev.js'; + var filePath = 'node_modules/angular2/bundles/'; + return gulp.src(filePath + fileName) + .pipe(insert.prepend("System.config({ 'paths': { '@reactivex/*': '@reactivex/*.js' }});\n")) + .pipe(gulp.dest(filePath)); +}); + gulp.task('bundle', ['bundle.ionic'], function() { var concat = require('gulp-concat'); @@ -396,7 +406,7 @@ gulp.task('demos', function(){ gulp.task('demos:all', ['demos'], function() { return gulp .src('dist/demos/component-docs/*') - .pipe(gulp.dest('dist/ionic-site/docs/v2/components/demo/')) + .pipe(gulp.dest('dist/ionic-site/docs/v2/components/demo/')) }); gulp.task('publish', function(done) {