![Tim Buckley](/assets/img/avatar_default.png)
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate` to start work on Angular rewrite of the frontend. Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
21 lines
504 B
JavaScript
21 lines
504 B
JavaScript
'use strict';
|
|
|
|
var config = require('../config');
|
|
var gulp = require('gulp');
|
|
var templateCache = require('gulp-angular-templatecache');
|
|
|
|
// Views task
|
|
gulp.task('views', function() {
|
|
|
|
// Put our index.html in the dist folder
|
|
gulp.src('app/index.html')
|
|
.pipe(gulp.dest(config.dist.root));
|
|
|
|
// Process any other view files from app/views
|
|
return gulp.src(config.views.src)
|
|
.pipe(templateCache({
|
|
standalone: true
|
|
}))
|
|
.pipe(gulp.dest(config.views.dest));
|
|
|
|
}); |