mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Move rigboard templates up a level
Also: - Find and replace panel -> card - Some base template work - gulpfile things, added dep on django-gulp
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@@ -20,7 +20,11 @@ gulp.task('sass', function () {
|
||||
});
|
||||
|
||||
gulp.task('scripts', function() {
|
||||
return gulp.src(['web_assets/js/**/*.js', 'node_modules/bootstrap/**/bootstrap.js'])
|
||||
.pipe(uglify())
|
||||
.pipe(gulp.dest('RIGS/static/js'));
|
||||
return gulp.src(['web_assets/js/**/*.js', 'node_modules/bootstrap/**/bootstrap.min.js', 'node_modules/jquery/**/jquery.min.js'])
|
||||
.pipe(flatten())
|
||||
.pipe(uglify())
|
||||
.pipe(gulp.dest('RIGS/static/js'));
|
||||
});
|
||||
|
||||
exports.default = gulp.parallel('sass', 'scripts');
|
||||
exports.build = gulp.parallel('sass', 'scripts');
|
||||
|
||||
Reference in New Issue
Block a user