mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
temp fix for alpha38
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@ -192,6 +192,16 @@ gulp.task('bundle.ionic', ['transpile'], function() {
|
|||||||
//TODO minify + sourcemaps
|
//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() {
|
gulp.task('bundle', ['bundle.ionic'], function() {
|
||||||
var concat = require('gulp-concat');
|
var concat = require('gulp-concat');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user