13 lines
257 B
JavaScript
13 lines
257 B
JavaScript
|
|
||
|
module.exports = function copyContentAssetsProcessor(copyFolder) {
|
||
|
return {
|
||
|
$runAfter: ['files-written'],
|
||
|
assetMappings: [],
|
||
|
$process() {
|
||
|
this.assetMappings.forEach(map => {
|
||
|
copyFolder(map.from, map.to);
|
||
|
});
|
||
|
}
|
||
|
};
|
||
|
};
|