Skip to content

Commit

Permalink
Merge pull request #166 from tylerbecks/add-gitignore-to-globby
Browse files Browse the repository at this point in the history
Add gitignore option to globby
  • Loading branch information
rwjblue authored May 28, 2021
2 parents ea2dada + b464b94 commit 3715c74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ async function runJsTransform(root, transformName, args, extensions = DEFAULT_JS
try {
let foundPaths = await globby(paths, {
expandDirectories: { extensions: extensions.split(',') },
gitignore: true,
});
let transformPath = getTransformPath(root, transformName);

Expand Down

0 comments on commit 3715c74

Please sign in to comment.