diff --git a/gulpfile.js b/gulpfile.js index 3e1eed62b1..5702eb135c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -34,7 +34,7 @@ gulp.task('clean.build', function() { 'examples', 'sass', 'fonts', - 'polyfills'); + 'vendor'); }) gulp.task('build', function() { @@ -44,7 +44,7 @@ gulp.task('build', function() { 'examples', 'sass', 'fonts', - 'polyfills'); + 'vendor'); }) gulp.task('watch', function() { @@ -55,7 +55,7 @@ gulp.task('watch', function() { 'examples', 'sass', 'fonts', - 'polyfills', + 'vendor', 'serve', function() { @@ -77,16 +77,6 @@ gulp.task('watch', function() { }) }); -function doubleCheckDistFiles() { - if (!fs.existsSync('../angular-ionic/dist/js/dev/es5/css')) { - gulp.start('sass'); - } - - if (!fs.existsSync('../angular-ionic/dist/js/dev/es5/fonts')) { - gulp.start('fonts'); - } -} - gulp.task('serve', function() { connect.server({ port: 8000, @@ -216,9 +206,9 @@ gulp.task('fonts', function() { }); -gulp.task('polyfills', function() { - return gulp.src('ionic/animations/web-animations*') - .pipe(gulp.dest('dist/polyfills')); +gulp.task('vendor', function() { + return gulp.src(['scripts/vendor/**/*']) + .pipe(gulp.dest('dist/vendor')); }); diff --git a/scripts/e2e/ionic.template.html b/scripts/e2e/ionic.template.html index 0b8127c615..acabaf6b2c 100644 --- a/scripts/e2e/ionic.template.html +++ b/scripts/e2e/ionic.template.html @@ -20,8 +20,9 @@ Loading... - + + +