@@ -150,14 +150,7 @@ gulp.task('bundle.ionic', ['transpile'], function() {
150150
151151gulp . task ( 'bundle' , [ 'bundle.ionic' ] , function ( ) {
152152 var nm = "node_modules" ;
153- return gulp . src ( [
154- 'node_modules/traceur/bin/traceur-runtime.js' ,
155- 'node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.js' ,
156- 'node_modules/systemjs/dist/system.js' ,
157- 'node_modules/angular2-build/angular2.dev.js' ,
158- 'dist/js/ionic.js' ,
159- 'node_modules/web-animations-js/web-animations.min.js'
160- ] )
153+ return gulp . src ( buildConfig . scripts )
161154 . pipe ( concat ( 'ionic.bundle.dev.js' ) )
162155 . pipe ( gulp . dest ( 'dist/js' ) ) ; ;
163156} )
@@ -172,16 +165,7 @@ gulp.task('tests', function() {
172165 . pipe ( gulp . dest ( 'dist/tests' ) )
173166} )
174167
175- gulp . task ( 'copy-scripts' , function ( ) {
176- gulp . src ( [
177- 'scripts/resources/*.js' ,
178- 'scripts/vendor/web-animations-js/web-animations.min.js' ,
179- 'config.js' ,
180- 'dist/js/ionic.bundle.js'
181- ] ) . pipe ( gulp . dest ( 'dist/lib' ) ) ;
182- } )
183-
184- gulp . task ( 'e2e' , [ 'copy-scripts' ] , function ( ) {
168+ gulp . task ( 'e2e' , function ( ) {
185169 var buildTest = lazypipe ( )
186170 //.pipe(traceur, traceurOptions)
187171 . pipe ( tsc , tscOptions , null , tscReporter )
0 commit comments