@vamship/build-utils 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vamship/build-utils",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Utility library for build tooling",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -65,6 +65,7 @@ export class CopyFilesTaskBuilder extends TaskBuilder {
65
65
 
66
66
  const paths = dirs
67
67
  .map((dir) => rootDir.getChild(dir))
68
+ .filter((dir) => dir.exists())
68
69
  .map((dir) => extensions.map((ext) => dir.getAllFilesGlob(ext)))
69
70
  .reduce((result, arr) => result.concat(arr), [])
70
71
  .concat(extras.map((item) => rootDir.getFileGlob(item)));