mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
let there be web animations
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@ -25,7 +25,8 @@ gulp.task('build', function() {
|
||||
'ionic.copy.js',
|
||||
'ionic.examples',
|
||||
'sass',
|
||||
'fonts');
|
||||
'fonts',
|
||||
'polyfills');
|
||||
})
|
||||
|
||||
gulp.task('watch', function() {
|
||||
@ -36,6 +37,7 @@ gulp.task('watch', function() {
|
||||
'ionic.examples',
|
||||
'sass',
|
||||
'fonts',
|
||||
'polyfills',
|
||||
|
||||
function() {
|
||||
watch('ionic/**/*.js', function() {
|
||||
@ -111,6 +113,12 @@ gulp.task('fonts', function() {
|
||||
});
|
||||
|
||||
|
||||
gulp.task('polyfills', function() {
|
||||
return gulp.src('ionic/animations/web-animations*')
|
||||
.pipe(gulp.dest('../angular-ionic/dist/js/dev/es5/polyfills'));
|
||||
});
|
||||
|
||||
|
||||
gulp.task('update.angular', function(done) {
|
||||
|
||||
if (!fs.existsSync('../angular-ionic')) {
|
||||
|
Reference in New Issue
Block a user