generated from ONSdigital/prototype-kit-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
22 lines (18 loc) · 791 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import gulp from 'gulp';
import definePrototypeKitGulpTasks from '@ons/prototype-kit/defineGulpTasks.js';
definePrototypeKitGulpTasks(gulp);
/* Define specific gulp tasks in this section. Refer to the README file for additional instructions. */
/* Below are examples of tasks you can define */
/* Example: Task to build static files */
// const staticFileExtensions = ['jpg', 'jpeg', 'png', 'gif', 'mp4', 'mpeg'];
// gulp.task('prototype-kit:build-static-files', () => {
// return gulp
// .src(`./src/**/*.{${staticFileExtensions.join(',')}}`)
// .pipe(gulp.dest('./build'));
// });
/* Example: Task to build user-defined JS files */
// gulp.task('prototype-kit:build-js', () => {
// return gulp
// .src('./src/**/*.js')
// .pipe(gulp.dest('./build'));
// });