gulp-filenames-to-txt

1.0.0 • Public • Published

Gulp filenames to Txt

Iterates over the set of files from gulp.src and save their filenames to .txt file.

Plugin is designed to help with dynamically creating clientlibs in Adobe Exprience Manager.

Usage

const filenames = require("gulp-filenames-to-txt");

gulp.task('css:txt', () => {
	return gulp.src('css/**/*.css'])
		.pipe(filenames({
			fileName: 'css.txt'
		}))
		.pipe(gulp.dest('css'));
});


License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-filenames-to-txt

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mateusz.luczak