From 9e86cc80288b70aee046dc435add80a5fc7c7867 Mon Sep 17 00:00:00 2001 From: Joakim Bengtson Date: Wed, 8 Jan 2014 10:58:07 +0100 Subject: [PATCH] =?UTF-8?q?Clarify=20that=20it=E2=80=99s=20not=20necessary?= =?UTF-8?q?=20to=20read=20the=20files=20for=20injection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e837a1..8022f92 100644 --- a/README.md +++ b/README.md @@ -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")); ``` diff --git a/package.json b/package.json index 8fab033..b311846 100644 --- a/package.json +++ b/package.json @@ -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",