gulp = require 'gulp'
crLfReplace = require 'gulp-cr-lf-replace'
gulp.task 'cr-lf-replace', ->
gulp
.src './htdocs/**/*.html'
.pipe crLfReplace
changeCode: 'CR+LF' # CR+LF, LF, CR
.pipe gulp.dest './'
syuji-higa / gulp-cr-lf-replace Goto Github PK
View Code? Open in Web Editor NEWLine feed code convert Gulp plugin.
Home Page: https://www.npmjs.com/package/gulp-cr-lf-replace
License: MIT License