gulp-sprockets-compiler
v0.1.0
Published
## Usage
Downloads
6
Readme
gulp-sprockets-compiler
Usage
var coffee = require("gulp-coffee")
var template = require("gulp-template")
var handlebars = require("gulp-handlebars")
var sprocketsCompiler = require("gulp-sprockets-compiler")
gulp.task("compile", function() {
var compilers = {
coffee: coffee()
hbs: handlebars()
erb: template({
name: "D’Angelo Barksdale"
})
}
return gulp.src("javascripts/**/*")
.pipe(sprocketsCompiler(compilers))
.pipe(concat("web.js"))
.pipe(gulp.dest("dist/"));