@gulp-plugin/collect
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.4 • Public • Published

    @gulp-plugin/collect npm (custom registry) GitHub Package Registry version

    Build Coverage Status dependencies Status

    A JavaScript/TypeScript file gathering plugin for gulp

    Installation

    npm install --save-dev @gulp-plugin/collect

    Usage

    Then, add it to your gulpfile.js:

    const collect = require('@gulp-plugin/collect');
    
    gulp.src('src/**/*.ts')
    	.pipe(collect('typescript'))
    	.pipe(gulp.dest('dist/'));
    
    gulp.src('src/**/*.js')
      .pipe(collect('javascript'))
      .pipe(gulp.dest('dist/'));
    
    const files = filenames.get('typescript') // ['a.ts','b.ts']

    License

    This project is licensed under the MIT License - see the LICENSE file for details

    Install

    npm i @gulp-plugin/collect

    DownloadsWeekly Downloads

    16

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    10.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • david_katz