angular-cn/aio/tools/transforms/angular.io-package/processors/copyContentAssets.js

13 lines
257 B
JavaScript
Raw Normal View History

2017-04-01 02:01:44 -04:00
module.exports = function copyContentAssetsProcessor(copyFolder) {
return {
$runAfter: ['files-written'],
assetMappings: [],
$process() {
this.assetMappings.forEach(map => {
copyFolder(map.from, map.to);
});
}
};
};