main-bower-files
Advanced tools
Comparing version 2.8.2 to 2.9.0
@@ -98,3 +98,3 @@ var readFile = require('fs').readFileSync, | ||
if (typeof opts.filter === 'string' || Array.isArray(opts.filter)) { | ||
files = multimatch(files, opts.filter); | ||
files = multimatch(files, opts.filter, {dot: true}); | ||
} else if (opts.filter instanceof RegExp) { | ||
@@ -101,0 +101,0 @@ files = files.filter(function(file) { |
@@ -0,0 +0,0 @@ var chalk = require('chalk'), |
@@ -0,0 +0,0 @@ var path = require('path'), |
{ | ||
"name": "main-bower-files", | ||
"version": "2.8.2", | ||
"version": "2.9.0", | ||
"description": "Get main files from your installed bower packages.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,3 +50,3 @@ main-bower-files | ||
`mainBowerFiles` returns an array of files where each file is a relative path without any globs (** or *). gulp requires globs in these paths to apply the base path. Because of this, you always have to tell gulp your bower base path (the path to the bower_components directory) explicitly. | ||
`mainBowerFiles` returns an array of files where each file is a absolute path without any globs (** or *). gulp requires globs in these paths to apply the base path. Because of this, you always have to tell gulp your bower base path (the path to the bower_components directory) explicitly. | ||
Here is an example: | ||
@@ -266,1 +266,2 @@ | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
@@ -0,0 +0,0 @@ var mainBowerFiles = require('../'), |
39580
266