blob: 819ef9495641409837f6270cff8a048ad87f097f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
var gulp = require('gulp');
var paths = {
bower: './bower_components',
npm: './node_modules',
frontend: './static'
};
gulp.task('copy', function () {
return gulp.src(paths.bower + '/jquery/dist/jquery.min.js')
.pipe(gulp.dest(paths.frontend + '/js'));
});
gulp.task('copy2', function () {
return gulp.src(paths.npm + '/vue/dist/vue.min.js')
.pipe(gulp.dest(paths.frontend + '/js'));
});
gulp.task('default', ['copy','copy2']);
|