0.1.4 • Published 7 years ago

gulp-cleanup-dest v0.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

gulp-cleanup-dest

This module will delete all files that do not match those in current pipeline in dest directory.

Options

  • dest: string - Path to destination directory.
  • ext?: string - Extension files are given in destination directory. If this is set only files matching this extension will be deleted in dest.

Usage

const cleanup = require('gulp-cleanup-dest');
gulp.task(function ts() {
    return gulp.src('src/**/*.ts')
        .pipe(cleanup({
            dest: 'app',
            ext: '.js'
        }))
        .pipe(tsc())
        .pipe(gulp.dest('app'));
});
0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago