Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "hbsfy", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Handlebars precompiler plugin for Browserify v2", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -75,2 +75,18 @@ [![Build Status](https://travis-ci.org/epeli/node-hbsfy.png?branch=master)](https://travis-ci.org/epeli/node-hbsfy) | ||
### Use in gulp | ||
You can easily use hbsfy in [gulp][] with [gulp-browserify][]: | ||
```javascript | ||
gulp.task('js', function() { | ||
gulp.src('js/app.js') | ||
.pipe(browserify({ | ||
insertGlobals: true, | ||
transform: ['hbsfy'] | ||
})) | ||
.pipe(concat('app.js')) | ||
.pipe(gulp.dest('./public/js')); | ||
}); | ||
``` | ||
## Changelog | ||
@@ -96,1 +112,3 @@ | ||
[peer dependency]: http://blog.nodejs.org/2013/02/07/peer-dependencies/ | ||
[gulp]: http://gulpjs.com/ | ||
[gulp-browserify]: https://github.com/deepak1556/gulp-browserify |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23368
113