build - mascara - copy proxy html

This commit is contained in:
kumavis 2018-03-28 20:54:59 -07:00
parent 18acdfe6b3
commit b88119c238
1 changed files with 13 additions and 4 deletions

View File

@ -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',
]