diff --git a/package.json b/package.json index b629e8e..902197d 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "deepmerge": "^2.1.1", "fs-extra": "^7.0.0", "handlebars": "^4.0.10", - "klaw-sync": "^5.0.0", + "klaw-sync": "^6.0.0", "semver": "^5.0.1" }, "engines": { diff --git a/re-natal.coffee b/re-natal.coffee index 3dbc70f..0d3f67c 100644 --- a/re-natal.coffee +++ b/re-natal.coffee @@ -741,6 +741,7 @@ buildRequireByPlatformMap = () -> item.path.indexOf('/re-natal/') < 0 # ignore re-natal internal cljs files (can happen if re-natal is installed as a devDependency) files = klawSync process.cwd(), nodir: true + traverseAll: true filter: onlyUserCljs filenames = files.map((o) -> o.path) extractedRequires = filenames.map(extractRequiresFromSourceFile)