From b88119c23851144448771e8a6de97e48fb96b2b0 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 28 Mar 2018 20:54:59 -0700 Subject: [PATCH] build - mascara - copy proxy html --- gulpfile.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 740b1a296..68618dfb4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -78,6 +78,11 @@ gulp.task('copy:reload', copyTask({ destinations: commonPlatforms.map(platform => `./dist/${platform}/scripts`), pattern: '/chromereload.js', })) +gulp.task('copy:html', copyTask({ + source: './app/', + destinations: commonPlatforms.map(platform => `./dist/${platform}`), + pattern: '/*.html', +})) // copy extension @@ -86,10 +91,13 @@ gulp.task('copy:manifest', copyTask({ destinations: browserPlatforms.map(platform => `./dist/${platform}`), pattern: '/*.json', })) -gulp.task('copy:html', copyTask({ - source: './app/', - destinations: browserPlatforms.map(platform => `./dist/${platform}`), - pattern: '/*.html', + +// copy mascara + +gulp.task('copy:html:mascara', copyTask({ + source: './mascara/', + destinations: [`./dist/mascara/`], + pattern: 'proxy/index.html', })) // manifest tinkering @@ -143,6 +151,7 @@ const copyTaskNames = [ 'copy:fonts', 'copy:manifest', 'copy:html', + 'copy:html:mascara', 'copy:contractImages', ]