diff --git a/lib/builder/builder.js b/lib/builder/builder.js index a4a0d415e..1fbeea0b4 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -275,7 +275,10 @@ module.exports = { const projectType = typeRepository.getType(project.type); const resourceCollections = resourceFactory.createCollectionsForTree(project, { useNamespaces: true, - virtualReaders: projectWriters + virtualReaders: projectWriters, + getProjectExcludes: function(proj) { + return proj.builder.excludes; + } }); const writer = new MemAdapter({