resource.sync.forEach(function(sync){
            var uri = getResourceUri(sync);
            uri && pkg.sync.push(uri);
        });