mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-24 15:56:38 +00:00
16 lines
278 B
JavaScript
16 lines
278 B
JavaScript
|
const gulp = require('gulp');
|
||
|
const inlinesource = require('gulp-inline-source');
|
||
|
|
||
|
const OPTIONS = {
|
||
|
files: {
|
||
|
pages: 'lib/auth/pages/*.ejs',
|
||
|
},
|
||
|
};
|
||
|
|
||
|
gulp.task('pages', () =>
|
||
|
gulp
|
||
|
.src(OPTIONS.files.pages)
|
||
|
.pipe(inlinesource())
|
||
|
.pipe(gulp.dest('build/auth/pages')),
|
||
|
);
|