blob: 0c5c8d640d3669d76156382be9ce90841cace2cc [file] [log] [blame]
Steven Burrowsa145e102017-06-16 13:37:50 -04001import gulp from 'gulp';
2import concat from 'gulp-concat';
3import BundleResources from '../helpers/bundleResources';
4
5const GUI_BASE = '../../web/gui/src/main/webapp/';
6const bundleFiles = [
7 'app/onos.css',
8 'app/onos-theme.css',
9 'app/common.css',
10 'app/fw/**/*.css',
11 'app/view/**/*.css',
12];
13
14const task = gulp.task('bundle-css', function () {
15 return gulp.src(BundleResources(GUI_BASE, bundleFiles))
16 .pipe(concat('onos.css'))
17 .pipe(gulp.dest(GUI_BASE + '/dist/'));
18});
19
20export default task;