2016-02-24 13:07:13 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var path = require('path');
|
|
|
|
var gulp = require('gulp');
|
|
|
|
var conf = require('./conf');
|
|
|
|
|
2016-02-25 10:03:34 +00:00
|
|
|
gulp.task('copyVendorImages', function () {
|
|
|
|
return gulp
|
|
|
|
.src([
|
|
|
|
path.join(conf.wiredep.directory, '**/ammap/dist/ammap/images/**/*'),
|
|
|
|
path.join(conf.wiredep.directory, '**/amcharts/dist/amcharts/images/**/*'),
|
|
|
|
path.join(conf.wiredep.directory, '**/ionrangeslider/img/**/*'),
|
|
|
|
path.join(conf.wiredep.directory, '**/jstree/dist/themes/**/*'),
|
|
|
|
path.join(conf.wiredep.directory, '**/leaflet/dist/images/**/*')
|
|
|
|
])
|
|
|
|
.pipe(gulp.dest(path.join(conf.paths.tmp, 'serve', '/assets/img/theme/vendor')));
|
2016-02-24 13:07:13 +00:00
|
|
|
});
|
|
|
|
|