mirror of
https://github.com/thumbsup/thumbsup
synced 2024-11-11 07:10:26 +00:00
Fix over-eager copy of original media
This commit is contained in:
parent
8a468026da
commit
88ad9d6d05
@ -63,8 +63,12 @@ exports.build = function(opts) {
|
||||
}
|
||||
|
||||
function copyMedia(callback) {
|
||||
var dest = path.join(opts.output, 'media', 'original');
|
||||
copyFolder(opts.input, dest, callback);
|
||||
regen({
|
||||
cwd: opts.input,
|
||||
src: '**/*.{jpg,jpeg,png,mp4,mov}',
|
||||
dest: media + '/original/$path/$name.$ext',
|
||||
process: fs.copy
|
||||
}, callback);
|
||||
}
|
||||
|
||||
function photoLarge(callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user