gulp-yml
v0.1.1
Published
Compile YML files
Downloads
59
Readme
gulp-yml
Detailed documentation will be writen soon...
Installation
Install plugin
npm install gulp-yml --save-dev
Add yml-compilation task into your gulp-file:
paths =
build: "build"
scripts: yml: "src/**/*.yml"
gulp.task "yml:compile", ->
gulp
.src( paths.scripts.yml )
.pipe( yml( ).on( "error", gutil.log ) )
.pipe( concat "all.yml" )
.pipe( gulp.dest( paths.build ) )
Finish
Options
Plugin redirects passed options directly to js-yaml#safeLoad( ), so read its documentation for details.