diff --git a/package.json b/package.json index e2173e6..82765a2 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,6 @@ "components" ], "dependencies": { - "array-find": "^1.0.0" + "lodash": "^4.6.1" } } diff --git a/src/index.js b/src/index.js index c64c57b..0e49f55 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import find from 'array-find'; +import find from 'lodash/find'; export default function({ types: t, template }) { function matchesPatterns(path, patterns) {