Skip to content

Commit

Permalink
Clarify that it’s not necessary to read the files for injection
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimbeng committed Jan 8, 2014
1 parent fadd6c6 commit 9e86cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Then, add it to your `gulpfile.js`:
```javascript
var inject = require("gulp-inject");

gulp.src("./src/*.ext")
gulp.src("./src/*.ext", {read: false}) // Not necessary to read the files (will speed up things), we're only after their paths
.pipe(inject("path/to/your/index.html"))
.pipe(gulp.dest("./dist"));
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-inject",
"version": "0.1.0",
"version": "0.1.1",
"description": "A javascript, stylesheet and webcomponent injection plugin for Gulp",
"keywords": [
"gulpplugin",
Expand Down

0 comments on commit 9e86cc8

Please sign in to comment.