aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gulpfile.js17
1 files 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',
]