meshviewer/gulp/tasks/copy.js

14 lines
524 B
JavaScript
Raw Permalink Normal View History

2017-03-22 22:13:37 +00:00
module.exports = function (gulp, plugins, config) {
return function copy() {
gulp.src(['html/*.html', 'assets/favicon/*'])
.pipe(gulp.dest(config.build));
gulp.src(['assets/logo.svg'])
.pipe(gulp.dest(config.build));
2017-03-18 15:33:50 +00:00
gulp.src(['node_modules/promise-polyfill/promise.js', 'polyfill.js', 'node_modules/raven-js/dist/raven.js'])
2017-03-22 22:13:37 +00:00
.pipe(gulp.dest(config.build + '/vendor'));
return gulp.src(['assets/fonts/*', 'assets/icons/fonts/*'])
.pipe(gulp.dest(config.build + '/fonts'));
};
};