diff --git a/gulpfile.js b/gulpfile.js index 9305f48780361453ab738c7bb0f1a65d0d871327..83472df8d6f677789db28b8fcce5c7902b263867 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -565,12 +565,16 @@ function webCleanUnusedFiles() { const wwwPath = './dist/web/www'; return es.concat( - // Clean JS + // Clean core JS + CSS gulp.src(wwwPath + '/js/**/*.js', {read: false}) .pipe(clean()), - - // Clean css gulp.src(wwwPath + '/css/**/*.css', {read: false}) + .pipe(clean()), + + // Clean plugins JS + CSS + gulp.src(wwwPath + '/plugins/**/*.js', {read: false}) + .pipe(clean()), + gulp.src(wwwPath + '/plugins/**/*.css', {read: false}) .pipe(clean()) ); } @@ -585,6 +589,7 @@ function webCleanUnusedDirectories() { wwwPath + '/css', wwwPath + '/templates', wwwPath + '/js', + wwwPath + '/plugins', wwwPath + '/dist', wwwPath + '/lib/*', '!' + wwwPath + '/lib/ionic',